Sha256: 4e78c9585969fb9eca9232916045427ab120653e8c8aebcd74a15e5b9770b4fd
Contents?: true
Size: 461 Bytes
Versions: 1
Compression:
Stored size: 461 Bytes
Contents
# @private # This controller is only used for testing purposes, it does not actually get used outside of test. class 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
challah-1.1.1 | test/dummy/app/controllers/restrictions_controller.rb |