Sha256: c5a5411b9e25160b77a950621ab670b0cd6a715b9f154f7c5d0b8feb925ffa51
Contents?: true
Size: 385 Bytes
Versions: 3
Compression:
Stored size: 385 Bytes
Contents
module IshManager class ApplicationController < ActionController::Base protect_from_forgery :with => :exception before_action :set_current_ability check_authorization def home authorize! :home, Manager render 'home' end private def set_current_ability @current_ability ||= ::IshManager::Ability.new( current_user ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems