summaryrefslogtreecommitdiff
path: root/app/models/project_services/external_wiki_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project_services/external_wiki_service.rb')
-rw-r--r--app/models/project_services/external_wiki_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/external_wiki_service.rb b/app/models/project_services/external_wiki_service.rb
index 1553f169827..a4b1ef09e93 100644
--- a/app/models/project_services/external_wiki_service.rb
+++ b/app/models/project_services/external_wiki_service.rb
@@ -1,7 +1,7 @@
class ExternalWikiService < Service
prop_accessor :external_wiki_url
- validates :external_wiki_url, presence: true, url: true, if: :activated?
+ validates :external_wiki_url, presence: true, public_url: true, if: :activated?
def title
'External Wiki'