Bump development gems
- brakeman - rubocop - scss_lint
This commit is contained in:
parent
51988b7ccd
commit
e26f4148ff
42 changed files with 99 additions and 94 deletions
|
@ -22,7 +22,7 @@ class Users::CarteController < UsersController
|
|||
ModuleApiCartoService.save_cadastre! dossier, params[:json_latlngs]
|
||||
end
|
||||
|
||||
dossier.update_attributes(json_latlngs: params[:json_latlngs])
|
||||
dossier.update(json_latlngs: params[:json_latlngs])
|
||||
|
||||
redirect_to modifier_dossier_path(dossier)
|
||||
end
|
||||
|
|
|
@ -156,7 +156,7 @@ class Users::DossiersController < UsersController
|
|||
flash.alert = individual_errors
|
||||
redirect_to users_dossier_path(id: @facade.dossier.id)
|
||||
else
|
||||
if !Dossier.find(@facade.dossier.id).update_attributes update_params_with_formatted_birthdate
|
||||
if !Dossier.find(@facade.dossier.id).update update_params_with_formatted_birthdate
|
||||
flash.alert = @facade.dossier.errors.full_messages
|
||||
|
||||
return redirect_to users_dossier_path(id: @facade.dossier.id)
|
||||
|
@ -259,7 +259,7 @@ class Users::DossiersController < UsersController
|
|||
end
|
||||
|
||||
def update_current_user_siret! siret
|
||||
current_user.update_attributes(siret: siret)
|
||||
current_user.update(siret: siret)
|
||||
end
|
||||
|
||||
def facade id = params[:id]
|
||||
|
|
|
@ -20,7 +20,7 @@ class Users::SessionsController < Sessions::SessionsController
|
|||
try_to_authenticate(Administrateur, remember_me)
|
||||
|
||||
if user_signed_in?
|
||||
current_user.update_attributes(loged_in_with_france_connect: '')
|
||||
current_user.update(loged_in_with_france_connect: '')
|
||||
end
|
||||
|
||||
if user_signed_in?
|
||||
|
@ -44,7 +44,7 @@ class Users::SessionsController < Sessions::SessionsController
|
|||
|
||||
if user_signed_in?
|
||||
connected_with_france_connect = current_user.loged_in_with_france_connect
|
||||
current_user.update_attributes(loged_in_with_france_connect: '')
|
||||
current_user.update(loged_in_with_france_connect: '')
|
||||
|
||||
sign_out :user
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue