I have a Problem with :url i have the following code:
:url => { :controller => :singlereceipts, :action => :update, :id =>
sr.id }
and the generated URL looks like this:
/singlereceipts/709689955
if i change :controller to "singlereceipts/update", the URL changes
to:
/singlereceipts/update/index/709689955
and if i add :action => :update to the long controller, the URL changes
to:
/singlereceipts/update/update/709689955
I dont have a clue whats going on, i hope you can help me.
Greetings
Sven
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---