Correction Redirection après connexion admin
This commit is contained in:
parent
54b4679d19
commit
9c7b0620ad
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
def store_location
|
||||
unless params[:controller] == 'devise/sessions'
|
||||
url = "/admin/dossier/#{params[:dossier_id]}"
|
||||
url = "/admin/dossiers/#{params[:dossier_id]}"
|
||||
session[:user_return_to] = url
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue