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