Flowdock
match(path, options=nil) public

When you set up a regular route, you supply a series of symbols that Rails maps to parts of an incoming HTTP request.

match ':controller/:action/:id/:user_id'

Two of these symbols are special: :controller maps to the name of a controller in your application, and :action maps to the name of an action within that controller. Anything other than :controller or :action will be available to the action as part of params.

Show source
Register or log in to add new notes.