Skip to content

Commit 7cac435

Browse files
Merge pull request #3150 from DMPRoadmap/patch-error-msgs
fix issue with string token for model save errors
2 parents ac99b72 + c09aac4 commit 7cac435

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/application_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def authenticate_admin!
105105
end
106106

107107
def failure_message(obj, action = 'save')
108-
format(_('Unable to %{action} the %{object}. {errors}'),
108+
format(_('Unable to %{action} the %{object}. %{errors}'),
109109
object: obj_name_for_display(obj),
110110
action: action || 'save', errors: errors_for_display(obj))
111111
end

0 commit comments

Comments
 (0)