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-12.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-12.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-11.2.1 spec/internal/app/controllers/example_controller.rb
gds-sso-11.2.0 spec/internal/app/controllers/example_controller.rb
gds-sso-11.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-11.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-10.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-10.0.1 spec/internal/app/controllers/example_controller.rb
gds-sso-10.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-9.4.0 spec/internal/app/controllers/example_controller.rb
gds-sso-9.3.0 spec/internal/app/controllers/example_controller.rb
gds-sso-9.2.7 spec/internal/app/controllers/example_controller.rb
gds-sso-9.2.6 spec/internal/app/controllers/example_controller.rb
gds-sso-9.2.5 spec/internal/app/controllers/example_controller.rb
gds-sso-9.2.4 spec/internal/app/controllers/example_controller.rb
gds-sso-9.2.3 spec/internal/app/controllers/example_controller.rb
gds-sso-9.2.2 spec/internal/app/controllers/example_controller.rb
gds-sso-9.2.1 spec/internal/app/controllers/example_controller.rb
gds-sso-9.2.0 spec/internal/app/controllers/example_controller.rb
gds-sso-9.1.2 spec/internal/app/controllers/example_controller.rb