Module: Snippets::BlobsActions

Extended by:
ActiveSupport::Concern
Includes:
ExtractsRef, Gitlab::Utils::StrongMemoize, SendBlob
Included in:
Projects::Snippets::BlobsController, BlobsController
Defined in:
app/controllers/concerns/snippets/blobs_actions.rb

Constant Summary

Constants included from ExtractsRef

ExtractsRef::InvalidPathError

Instance Method Summary collapse

Methods included from SendBlob

#send_snippet_blob

Methods included from SendsBlob

#send_blob

Methods included from ExtractsRef

#assign_ref_vars, #extract_ref, #tree

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Instance Method Details

#rawObject


16
17
18
# File 'app/controllers/concerns/snippets/blobs_actions.rb', line 16

def raw
  send_snippet_blob(snippet, blob)
end