Sha256: e5c82e24e14e46ef3969f37001636480a695acd9389108e5f86960840a95c22b
Contents?: true
Size: 472 Bytes
Versions: 77
Compression:
Stored size: 472 Bytes
Contents
module Ishapi class UnrestrictedController < ActionController::Base protect_from_forgery :prepend => true, :with => :exception layout :false before_action :set_current_ability check_authorization skip_before_action :verify_authenticity_token private def set_current_ability @current_ability ||= ::Ishapi::Ability.new( User.new ) end def puts! a, b='' puts "+++ +++ #{b}" puts a.inspect end end end
Version data entries
77 entries across 77 versions & 1 rubygems