From 0000487cf806286618fcb6a761ef105059c3c67e Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Wed, 9 Apr 2014 14:41:56 +0600 Subject: [PATCH] fix authenticate_user method --- app/controllers/application_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c717b55db..8e7e582ad 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -55,6 +55,8 @@ class ApplicationController < ActionController::Base def authenticate_user if user = find_user_by_token sign_in user, store: false + else + super end end