Sha256: 96730ac402d1bcf76b22b6c734b26233588e8a96cfbd28091d364be0ee5e3a73
Contents?: true
Size: 545 Bytes
Versions: 3
Compression:
Stored size: 545 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 ] restrict_to_permission :special, :only => [ :new ] def index current_user head :ok end def show head :ok end def new head :ok end def edit head :ok end def blah head :ok end end
Version data entries
3 entries across 3 versions & 1 rubygems