RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jcwilk
You're thinking of match, which matches a route to a thing. This is "mount" which mounts a thing at a route. It's reversed because the subject/object of the two verbs are reversed.
You're thinking of match, which matches a route to a thing. This is "mount" which mounts a thing at a route. It's reversed because the subject/object of the two verbs are reversed.