parent
57181e208f
commit
03e98e617b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class ApplicationController < ActionController::Base
|
|||
helper_method :admin?
|
||||
|
||||
def after_sign_in_path_for(resource)
|
||||
sign_in_url = url_for(action: 'new', controller: 'sessions', only_path: false, protocol: 'https')
|
||||
sign_in_url = url_for(action: 'new', controller: 'sessions', only_path: false)
|
||||
|
||||
if request.referer == sign_in_url
|
||||
super
|
||||
|
|
Loading…
Reference in a new issue