Changed not to exclamation mark
This commit is contained in:
parent
4d4d684378
commit
980eb9f6bc
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
def after_sign_in_path_for(resource)
|
def after_sign_in_path_for(resource)
|
||||||
if session[:return_to] &&
|
if session[:return_to] &&
|
||||||
(not session[:return_to].start_with?(user_registration_path))
|
!session[:return_to].start_with?(user_registration_path)
|
||||||
logger.debug "Returning to #{session[:return_to]}"
|
logger.debug "Returning to #{session[:return_to]}"
|
||||||
session[:return_to]
|
session[:return_to]
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue