Sha256: 3adfe5bd89f2107ea12bb0864919914aea7b30720bbc05dc8f2da3dd36f03426

Contents?: true

Size: 254 Bytes

Versions: 7

Compression:

Stored size: 254 Bytes

Contents

class FullProtectedResourcesController < ApplicationController
  before_action :verify_authorized!, only: :show
  before_action :verify_authorized!, only: :index

  def index
    render plain: 'index'
  end

  def show
    render plain: 'show'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
capcoauth-0.7.0 spec/dummy/app/controllers/full_protected_resources_controller.rb
capcoauth-0.6.3 spec/dummy/app/controllers/full_protected_resources_controller.rb
capcoauth-0.6.2 spec/dummy/app/controllers/full_protected_resources_controller.rb
capcoauth-0.6.1 spec/dummy/app/controllers/full_protected_resources_controller.rb
capcoauth-0.6.0 spec/dummy/app/controllers/full_protected_resources_controller.rb
capcoauth-0.5.1 spec/dummy/app/controllers/full_protected_resources_controller.rb
capcoauth-0.5.0 spec/dummy/app/controllers/full_protected_resources_controller.rb