I understand what the router error in the subject is trying to tell me but
I don't see what I've done wrong
In my Ticket model I have
belongs_to :technician, :class_name => 'User', :inverse_of =>
:tech_tickets, :conditions => ['employee = ?', true]
belongs_to :submitted_by, :class_name => "User", :creator => true,
:inverse_of => :tickets
In my User model I have the following
has_many :tech_tickets, :class_name => "Ticket", :inverse_of =>
:technician
has_many :tickets, :inverse_of => :submitted_by
However when I add the following in my Ticket controller I get the error in
the subject line
auto_actions_for :technician, :index
def index_for_technician
params[:sort] ||= "problem"
params[:search] ||= ""
hobo_index_for :technician, :scope => [[:search, params[:search],
[problem]], [:order, parse_sort_param(:problem).join(' ')]]
end
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/hobousers/-/8BYBwu-zpHMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.