Sha256: b1b4d24cd89439be1d4c0613c240e6a4342c604eb28798dacb50d862db76246f
Contents?: true
Size: 462 Bytes
Versions: 10
Compression:
Stored size: 462 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
10 entries across 10 versions & 2 rubygems