debian-mirror-gitlab/app/models/personal_snippet.rb
2020-03-13 15:44:24 +05:30

9 lines
198 B
Ruby

# frozen_string_literal: true
class PersonalSnippet < Snippet
include WithUploads
def web_url(only_path: nil)
Gitlab::Routing.url_helpers.snippet_url(self, only_path: only_path)
end
end