Sha256: 1c80a676f7aecd7ab9524079fda14c143fbba447626899fd15763454e0beac3a

Contents?: true

Size: 346 Bytes

Versions: 9

Compression:

Stored size: 346 Bytes

Contents

class ExampleController < ApplicationController
  before_action :authenticate_user!, only: %i[restricted this_requires_signin_permission]

  def index
    render body: "jabberwocky"
  end

  def restricted
    render body: "restricted kablooie"
  end

  def this_requires_signin_permission
    render body: "you have signin permission"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gds-sso-17.1.1 spec/internal/app/controllers/example_controller.rb
gds-sso-17.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-17.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-16.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-16.0.2 spec/internal/app/controllers/example_controller.rb
gds-sso-16.0.1 spec/internal/app/controllers/example_controller.rb
gds-sso-16.0.0 spec/internal/app/controllers/example_controller.rb
gds-sso-15.1.0 spec/internal/app/controllers/example_controller.rb
gds-sso-15.0.1 spec/internal/app/controllers/example_controller.rb