Skip to content

Use I18n for the invalid URL error message#17

Open
threedaymonk wants to merge 1 commit intoralovets:masterfrom
threedaymonk:i18n-error
Open

Use I18n for the invalid URL error message#17
threedaymonk wants to merge 1 commit intoralovets:masterfrom
threedaymonk:i18n-error

Conversation

@threedaymonk
Copy link

This enables the error to be customised in the normal Rails manner, i.e. by setting <locale>.errors.messages.invalid_url or specifically for a model using <locale>.activerecord.errors.models.<model>.attributes.<field>.invalid_url.

This enables the error to be customised in the normal Rails manner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant