diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 035029620f..da8cde06da 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -105,7 +105,7 @@ def authenticate_admin! end def failure_message(obj, action = 'save') - format(_('Unable to %{action} the %{object}. {errors}'), + format(_('Unable to %{action} the %{object}. %{errors}'), object: obj_name_for_display(obj), action: action || 'save', errors: errors_for_display(obj)) end