diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-06 21:09:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-06 21:09:37 +0300 |
commit | 495c22d1245b6212b21b7379a542df73dfa77206 (patch) | |
tree | 5f0f82dd6c8c4fe1c4bd411f9e398b1a6eaaa69f /app/models/project_snippet.rb | |
parent | f3b1e07903a7f509b11ad7cf188fac46d98f77f6 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project_snippet.rb')
-rw-r--r-- | app/models/project_snippet.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/project_snippet.rb b/app/models/project_snippet.rb index 6045ec71c6e..ffb08e10f1f 100644 --- a/app/models/project_snippet.rb +++ b/app/models/project_snippet.rb @@ -5,8 +5,4 @@ class ProjectSnippet < Snippet validates :project, presence: true validates :secret, inclusion: { in: [false] } - - def web_url(only_path: nil) - Gitlab::Routing.url_helpers.project_snippet_url(project, self, only_path: only_path) - end end |