summaryrefslogtreecommitdiff
path: root/app/models/project_services/external_wiki_service.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-06-02 11:15:53 +0900
committerShinya Maeda <shinya@gitlab.com>2018-06-02 11:15:53 +0900
commitb02b2602c1bcfd60b760fbfd1aca936475d78474 (patch)
tree09d906b8d6fafcae31994cf0c2af6af2af6970fd /app/models/project_services/external_wiki_service.rb
parentc89e57842ebf7f395363bcddaeff76bc7b3f7890 (diff)
parentfe0ebf76c49e2512b211c5d43152275c536f7e3a (diff)
downloadgitlab-ce-b02b2602c1bcfd60b760fbfd1aca936475d78474.tar.gz
Merge branch 'master' into per-project-pipeline-iid
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'