diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-12 01:11:16 +0300 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-24 17:32:12 +0300 |
commit | 9b470aebb993d7a5745f0e9fc17b207fe46b16fe (patch) | |
tree | 768641af472d13a72d7d94be9abbfec2949dd533 /lib/gitlab/url_builder.rb | |
parent | 02591b043052eb4f8041f8cf51546fab272d7b61 (diff) |
url_builder: handle project snippets
Diffstat (limited to 'lib/gitlab/url_builder.rb')
-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 |