Sha256: 3118fe1cc131ee773773487989565f1e6fbb1adf0dab11dcc37d07666378374e

Contents?: true

Size: 235 Bytes

Versions: 8

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module Admin
  class DummyController < ActionController::Base
    include Authorizy::Extension

    before_action :authorizy

    def action
      render json: { message: 'authorized' }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
authorizy-0.5.0 spec/support/controllers/admin/dummy_controller.rb
authorizy-0.4.1 spec/support/controllers/admin/dummy_controller.rb
authorizy-0.4.0 spec/support/controllers/admin/dummy_controller.rb
authorizy-0.3.0 spec/support/controllers/admin/dummy_controller.rb
authorizy-0.2.2 spec/support/controllers/admin/dummy_controller.rb
authorizy-0.2.1 spec/support/controllers/admin/dummy_controller.rb
authorizy-0.2.0 spec/support/controllers/admin/dummy_controller.rb
authorizy-0.1.0 spec/support/controllers/admin/dummy_controller.rb