module Bizside::Acl::ControllerHelper

Public Instance Methods

authorize_user!() click to toggle source
# File lib/bizside/acl/controller_helper.rb, line 6
def authorize_user!
  unless available_for(params[:controller], params[:action], params)
    redirect_to root_path
    return
  end
end