aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTeddy Wing2015-12-30 17:22:25 -0800
committerTeddy Wing2015-12-30 17:45:27 -0800
commitccd50d7ced3417f39b7c6a98df372554ae6d2722 (patch)
tree012b1b2c81c85cdffcb677415a6c9a0931bf81b5 /config
parent358bad0827736ce61f24a640199ee2a99e9119c3 (diff)
downloadEvernote-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.rb2
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".