Sha256: 3f1b238d770fd71823187c7b01237a804d44ac641d776b8299ecaf040e962366

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Archangel
  ##
  # Controller concerns
  #
  module Controllers
    ##
    # Controller authorize concern
    #
    module AuthorizableConcern
      extend ActiveSupport::Concern

      included do
        after_action :verify_authorized
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
archangel-0.4.0 app/controllers/concerns/archangel/controllers/authorizable_concern.rb