Sha256: dca4273e39c2ecde6795b01042c0670c2b9ddf95f22db24b5cff16f0ac55f0ad

Contents?: true

Size: 230 Bytes

Versions: 18

Compression:

Stored size: 230 Bytes

Contents

class SemiProtectedResourcesController < ApplicationController
  before_filter :doorkeeper_authorize!, only: :index

  def index
    render text: 'protected index'
  end

  def show
    render text: 'non protected show'
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
doorkeeper-3.1.0 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-3.0.1 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.2.2 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-3.0.0 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-3.0.0.rc2 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-3.0.0.rc1 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.2.1 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.2.0 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.1.4 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.1.3 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.1.2 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.1.1 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.1.0 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.0.1 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.0.0 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.0.0.rc3 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.0.0.rc2 spec/dummy/app/controllers/semi_protected_resources_controller.rb
doorkeeper-2.0.0.alpha1 spec/dummy/app/controllers/semi_protected_resources_controller.rb