summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-08-13 21:09:09 -0600
committermo khan <mo@mokhan.ca>2014-08-13 21:09:09 -0600
commitac1caed55bef96781b447a83aff319770c3044ef (patch)
tree8eaffe5f53857f35635601f294665c36badaf42d /app/controllers/application_controller.rb
parentc716f5d96f1a5540c432f68b42273c1b91bc7065 (diff)
rename Session to UserSession.
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 15c32e3b..e9efa185 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -7,7 +7,7 @@ class ApplicationController < ActionController::Base
helper_method :current_user, :user_signed_in?
def user_session(session_id = cookies.signed[:cookie_monster])
- Session.find_by(id: session_id)
+ UserSession.find_by(id: session_id)
end
def current_user