search for: attachment_project

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

Did you mean: attachment_projects
2010 Dec 03
0
Rake Routes project_attachment_path
Hello, I''m trying to create a project_attachment_path In my routes I have: resources :projects do collection do get "attachments/:id/:style.:format" => "attachments#download", :as => :attachment end end **Problem is in RAKE ROUTES:** attachment_projects GET /projects/ attachments/:id/:style.:format {:action=>"download", :controller=>"attachments"} It''s backwards? Any ideas what I did wrong? Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...