aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/home_controller.rb2
-rw-r--r--app/views/home/index.html1
-rw-r--r--config/routes.rb2
3 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb
index fc0b474..95f2992 100644
--- a/app/controllers/home_controller.rb
+++ b/app/controllers/home_controller.rb
@@ -1,2 +1,4 @@
class HomeController < ApplicationController
+ def index
+ end
end
diff --git a/app/views/home/index.html b/app/views/home/index.html
new file mode 100644
index 0000000..13da327
--- /dev/null
+++ b/app/views/home/index.html
@@ -0,0 +1 @@
+<a href="/auth/evernote">Login with Evernote</a>
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".