Sha256: 1e55ed4630b629c573b6140ae8afd6041a89a3b14029e03a136f9ebf9947e6be

Contents?: true

Size: 446 Bytes

Versions: 49

Compression:

Stored size: 446 Bytes

Contents

class ExampleController < ApplicationController

  before_filter :authenticate_user!, :only => [:restricted, :this_requires_signin_permission]
  before_filter :require_signin_permission!, only: [:this_requires_signin_permission]

  def index
    render :text => "jabberwocky"
  end

  def restricted
    render :text => "restricted kablooie"
  end

  def this_requires_signin_permission
    render :text => "you have signin permission"
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
gds-sso-9.1.1 spec/internal/app/controllers/example_controller.rb
gds-sso-9.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-9.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-8.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-7.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-6.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-5.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-4.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-3.1.1 spec/internal/app/controllers/example_controller.rb
gds-sso-3.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-3.0.5 spec/internal/app/controllers/example_controller.rb
gds-sso-3.0.4 spec/internal/app/controllers/example_controller.rb
gds-sso-3.0.3 spec/internal/app/controllers/example_controller.rb
gds-sso-3.0.2 spec/internal/app/controllers/example_controller.rb
gds-sso-3.0.1 spec/internal/app/controllers/example_controller.rb
gds-sso-3.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-2.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-2.0.1 spec/internal/app/controllers/example_controller.rb
gds-sso-2.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-1.2.2 spec/internal/app/controllers/example_controller.rb