Sha256: 5c4d390925ae7e2a7448365e9958b134be2711b7574c8294987e009991160f7f
Contents?: true
Size: 380 Bytes
Versions: 15
Compression:
Stored size: 380 Bytes
Contents
class DmEvent::Admin::AdminController < DmCore::Admin::AdminController before_filter :authorize_access protected #------------------------------------------------------------------------------ def authorize_access unless can?(:access_event_section, :all) flash[:alert] = "Unauthorized Access!" redirect_to current_account.index_path end end end
Version data entries
15 entries across 15 versions & 1 rubygems