Sha256: 0350181e141a53b0bc2d9611b37f466539e44ec6cef64245edd5857d7d8ffb88

Contents?: true

Size: 475 Bytes

Versions: 12

Compression:

Stored size: 475 Bytes

Contents

# @private
# This controller is only used for testing purposes, it does not actually get used outside of test.
class Challah::Test::RestrictionsController < ApplicationController
  signin_required                 only: [ :blah ]
  before_filter :signin_required, only: [ :edit ]
  restrict_to_authenticated       only: [ :show ]

  def index
    current_user

    head :ok
  end

  def show
    head :ok
  end

  def edit
    head :ok
  end

  def blah
    head :ok
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
challah-1.1.0 app/controllers/challah/test/restrictions_controller.rb
challah-1.0.0 app/controllers/challah/test/restrictions_controller.rb
challah-1.0.0.beta3 app/controllers/challah/test/restrictions_controller.rb
challah-1.0.0.beta2 app/controllers/challah/test/restrictions_controller.rb
challah-1.0.0.beta app/controllers/challah/test/restrictions_controller.rb
challah-0.9.1.beta.3 app/controllers/challah/test/restrictions_controller.rb
challah-0.9.1.beta.2 app/controllers/challah/test/restrictions_controller.rb
challah-0.9.1.beta app/controllers/challah/test/restrictions_controller.rb
challah-0.9.0 app/controllers/challah/test/restrictions_controller.rb
challah-0.9.0.pre app/controllers/challah/test/restrictions_controller.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/app/controllers/challah/test/restrictions_controller.rb
challah-0.8.3 app/controllers/challah/test/restrictions_controller.rb