mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-23 02:54:40 +00:00
16 lines
258 B
Ruby
16 lines
258 B
Ruby
# frozen_string_literal: true
|
|
|
|
module RequestAwareEntity
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
include Gitlab::Routing
|
|
include GitlabRoutingHelper
|
|
include Gitlab::Allowable
|
|
end
|
|
|
|
def request
|
|
options.fetch(:request, nil)
|
|
end
|
|
end
|