diff options
| author | Teddy Wing | 2015-12-30 17:22:25 -0800 |
|---|---|---|
| committer | Teddy Wing | 2015-12-30 17:45:27 -0800 |
| commit | ccd50d7ced3417f39b7c6a98df372554ae6d2722 (patch) | |
| tree | 012b1b2c81c85cdffcb677415a6c9a0931bf81b5 /config | |
| parent | 358bad0827736ce61f24a640199ee2a99e9119c3 (diff) | |
| download | Evernote-Rails-Example-ccd50d7ced3417f39b7c6a98df372554ae6d2722.tar.bz2 | |
Add a link to login with Evernote on homepage
* Add index method to HomeController
* Add root route to HomeController#index
* Add link on index page to `/auth/evernote`
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3f66539..08c7222 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ Rails.application.routes.draw do + root 'home#index' + # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes". |
