Is there any documentation for how the match command converts the ":to"
argument to a class and method name?
If I have
match '<path>', to: '<sort-of-a-class-name>#<sort-of-a-method-name>',
via: :get
How does it go from <sort-of-a-class-name> to <actual-class-name>, and
more importantly, how do I go in the reverse direction?
I can probably figure this out via trial-and-error, but I'd like to see
docs if there are some, or contribute some docs if not.
--
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/20141027152450.3f85b1d70bf0cad11b4944c7%40brisammon.fastmail.fm.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment