module Exits::ActionController::Helpers::ClassMethods

Public Instance Methods

allow(kls, *actions) click to toggle source
# File lib/exits/action_controller/helpers.rb, line 16
def allow(kls, *actions)
  rules.add self, kls, actions
end
rules() click to toggle source
# File lib/exits/action_controller/helpers.rb, line 20
def rules
  @rules ||= ::Exits::Rules.new
end