Skip to content
This repository has been archived by the owner on Jan 7, 2018. It is now read-only.

Commit

Permalink
Also fix client-side validation for wildcard host scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Aug 13, 2015
1 parent 2b2b76b commit 3afb7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/admin/models/api_scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Admin.ApiScope = Ember.Model.extend(Ember.Validations.Mixin, {
host: {
presence: true,
format: {
with: CommonValidations.host_format,
with: CommonValidations.host_format_with_wildcard,
message: polyglot.t('errors.messages.invalid_host_format'),
},
},
Expand Down

0 comments on commit 3afb7bb

Please sign in to comment.