Skip to content

Latest commit

 

History

History

routes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Ruby on Rails Routes

  • Use resources for RESTful routes.
  • Avoid the :except option in routes.
  • Use resources nesting with :member and :collection routes.
  • Order resourceful routes alphabetically by name.
  • Use the :only option to explicitly state exposed routes.
  • Use parameters into routes.
  • Define root route.