Sha256: 49e7dd51383ae012feafdc603fd5d88f4249889bdd5c69d96fe501772516cb81

Contents?: true

Size: 226 Bytes

Versions: 8

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

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

    included do
      after_action :verify_authorized
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/controllers/concerns/archangel/authorizable_concern.rb
archangel-0.0.8 app/controllers/concerns/archangel/authorizable_concern.rb
archangel-0.0.7 app/controllers/concerns/archangel/authorizable_concern.rb
archangel-0.0.6 app/controllers/concerns/archangel/authorizable_concern.rb
archangel-0.0.5 app/controllers/concerns/archangel/authorizable_concern.rb
archangel-0.0.4 app/controllers/concerns/archangel/authorizable_concern.rb
archangel-0.0.3 app/controllers/concerns/archangel/authorizable_concern.rb
archangel-0.0.2 app/controllers/concerns/archangel/authorizable_concern.rb