2018-07-25 09:30:33 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-03-24 22:18:03 +00:00
|
|
|
class PersonalSnippet < Snippet
|
2018-04-19 16:22:23 +00:00
|
|
|
include WithUploads
|
2020-02-13 15:08:52 +00:00
|
|
|
|
|
|
|
def web_url(only_path: nil)
|
|
|
|
Gitlab::Routing.url_helpers.snippet_url(self, only_path: only_path)
|
|
|
|
end
|
2013-03-24 22:18:03 +00:00
|
|
|
end
|