Sha256: 5d1a58ab760a57221883673470b6091d45e30bbcb4c68894329a43efc35bf070
Contents?: true
Size: 292 Bytes
Versions: 37
Compression:
Stored size: 292 Bytes
Contents
module Bizside module Acl module ControllerHelper include Bizside::Acl::AvailableHelper def authorize_user! unless available_for(params[:controller], params[:action], params) redirect_to root_path return end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems