Евгений Шурмин wrote in post #1146886:
> get 'dict/:id/manage', to: 'dict#manage' , as: :dict
Could you please kindly explain, what the effect of the "as: :dict" is
in this case? I understood that I need the "as:" parameter for those
cases where I want to name the route differently, but in this case, it
is always 'dict'.
With other words: What would be the effect if I just leave out "as:
:dict"?
--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a54eb15ee44625f00b0a29778f740f56%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment