Skip to content
andela-oojewale edited this page Jan 14, 2016 · 1 revision

Routes should be declared as follows:

get "path/in/browser, to: "controller#action"

Where "get" can be any request type e.g post, put, delete.

The root can be defined as:

root "controller#action"

Clone this wiki locally