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

Commit

Permalink
Fix so API scopes can be created for wildcard hosts.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Aug 13, 2015
1 parent fd34dab commit 2b2b76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/api_scope.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ApiScope
validates :host,
:presence => true,
:format => {
:with => CommonValidations::HOST_FORMAT,
:with => CommonValidations::HOST_FORMAT_WITH_WILDCARD,
:message => :invalid_host_format,
}
validates :path_prefix,
Expand Down

0 comments on commit 2b2b76b

Please sign in to comment.