aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTeddy Wing2015-12-30 17:37:42 -0800
committerTeddy Wing2015-12-30 17:45:28 -0800
commita443de365cc1ccfb57cbc416c4d780df9c9a0033 (patch)
treec12fcc402691558fdae65d963a412f9a65f10317 /app
parentcc524b311ae7b65bb788121d3b3777406bf25250 (diff)
downloadEvernote-Rails-Example-a443de365cc1ccfb57cbc416c4d780df9c9a0033.tar.bz2
Create SessionsController
This will handle the OAuth callback coming from OmniAuth.
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/sessions.coffee3
-rw-r--r--app/assets/stylesheets/sessions.scss3
-rw-r--r--app/controllers/sessions_controller.rb2
-rw-r--r--app/helpers/sessions_helper.rb2
4 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/javascripts/sessions.coffee b/app/assets/javascripts/sessions.coffee
new file mode 100644
index 0000000..24f83d1
--- /dev/null
+++ b/app/assets/javascripts/sessions.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/stylesheets/sessions.scss b/app/assets/stylesheets/sessions.scss
new file mode 100644
index 0000000..7bef9cf
--- /dev/null
+++ b/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,3 @@
+// Place all the styles related to the sessions controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
new file mode 100644
index 0000000..16d11b5
--- /dev/null
+++ b/app/controllers/sessions_controller.rb
@@ -0,0 +1,2 @@
+class SessionsController < ApplicationController
+end
diff --git a/app/helpers/sessions_helper.rb b/app/helpers/sessions_helper.rb
new file mode 100644
index 0000000..309f8b2
--- /dev/null
+++ b/app/helpers/sessions_helper.rb
@@ -0,0 +1,2 @@
+module SessionsHelper
+end