improve code readbility

This commit is contained in:
Christophe Robillard 2020-03-20 10:26:21 +01:00
parent 775cc11d30
commit d46bcecc51

View file

@ -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)