diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-11 18:11:16 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-24 10:32:12 -0400 |
commit | 9b470aebb993d7a5745f0e9fc17b207fe46b16fe (patch) | |
tree | 768641af472d13a72d7d94be9abbfec2949dd533 | |
parent | 02591b043052eb4f8041f8cf51546fab272d7b61 (diff) | |
download | gitlab-ce-9b470aebb993d7a5745f0e9fc17b207fe46b16fe.tar.gz |
url_builder: handle project snippets
-rw-r--r-- | lib/gitlab/url_builder.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/url_builder.rb b/lib/gitlab/url_builder.rb index fe65c246101..99d0c28e749 100644 --- a/lib/gitlab/url_builder.rb +++ b/lib/gitlab/url_builder.rb @@ -22,6 +22,8 @@ module Gitlab note_url when WikiPage wiki_page_url + when ProjectSnippet + project_snippet_url(object) else raise NotImplementedError.new("No URL builder defined for #{object.class}") end |