Bump ruby to 3.0.6 (#218)

* Bump ruby to 2.7.8
* Bump listen to 3.5.1 (remove dependency on ruby_dep)
* Bump ruby to 3.0.6
* Fix I18n.translate arguments: from hash to keyword arguments
This commit is contained in:
Riccardo Graziosi
2023-05-09 09:32:18 +02:00
committed by GitHub
parent 5b9edd4745
commit 10f06c9760
17 changed files with 35 additions and 36 deletions

View File

@@ -46,7 +46,7 @@ class OAuthsController < ApplicationController
flash[:notice] = I18n.t('devise.sessions.signed_in')
redirect_to root_path
else
flash[:alert] = I18n.t('errors.o_auth_login_error', { name: @o_auth.name })
flash[:alert] = I18n.t('errors.o_auth_login_error', name: @o_auth.name)
redirect_to new_user_session_path
end
elsif reason == 'test'