search for: load_company

Displaying 1 result from an estimated 1 matches for "load_company".

Did you mean: load_command
2010 Mar 08
0
Nested Resources + Namespace + Friendly URL
...to know, how can I hide the <companies/1> parameters, becouse the company is gonna be logged in my apps, and my apps already gets your ID from the session, instead of to get from URL I would like to have: dashboard/menus/new Above is my code for to take a ID of the company before_filter :load_company def load_company @company = Company.find(current_company.id) end Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gm...