Welcome to mirror list, hosted at ThFree Co, Russian Federation.

personal_snippet.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5940265b17a45fcdb0a607e26daedb19ba027722 (plain)
1
2
3
4
5
6
7
8
9
# 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