Project

General

Profile

« Previous | Next » 

Revision b43727d8

Added by Ohad Levy about 12 years ago

  • ID b43727d86ce307c84bc8039cffa8e9e3c2aac38c

incorrect usage of my hosts scope while processing a error in displaying host list

View differences:

app/controllers/hosts_controller.rb
search = Host.my_hosts.search_for(params[:search],:order => params[:order])
rescue => e
error e.to_s
search = my_hosts.search_for ''
search = Host.my_hosts.search_for ''
end
respond_to do |format|
format.html do

Also available in: Unified diff