improve code readbility
This commit is contained in:
parent
775cc11d30
commit
d46bcecc51
1 changed files with 3 additions and 1 deletions
|
@ -199,7 +199,9 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
# return at this location
|
# return at this location
|
||||||
# after the device is trusted
|
# after the device is trusted
|
||||||
store_location_for(:user, request.fullpath) if get_stored_location_for(:user).blank?
|
if get_stored_location_for(:user).blank?
|
||||||
|
store_location_for(:user, request.fullpath)
|
||||||
|
end
|
||||||
|
|
||||||
send_login_token_or_bufferize(current_instructeur)
|
send_login_token_or_bufferize(current_instructeur)
|
||||||
redirect_to link_sent_path(email: current_instructeur.email)
|
redirect_to link_sent_path(email: current_instructeur.email)
|
||||||
|
|
Loading…
Reference in a new issue