Sha256: 114708486515345c9b4fed3524772e12151b3e299a36ed739fb47c24d3dc1bad
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
module IshManager class ApplicationController < ActionController::Base protect_from_forgery :with => :exception before_action :set_current_ability 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ish_manager-0.1.1 | app/controllers/ish_manager/application_controller.rb |