module Hello::RailsController::ClassMethods
Public Instance Methods
dont_kick(*args)
click to toggle source
# File lib/hello/rails_controller.rb, line 17 def dont_kick(*args) options, roles = Hello::Utils.trailing_options(args) before_action(options) { dont_kick(*roles) } end
dont_kick_people()
click to toggle source
# File lib/hello/rails_controller.rb, line 22 def dont_kick_people # :) end
kick(*args)
click to toggle source
# File lib/hello/rails_controller.rb, line 12 def kick(*args) options, roles = Hello::Utils.trailing_options(args) before_action(options) { kick(*roles) } end
sign_out!(options = {})
click to toggle source
# File lib/hello/rails_controller.rb, line 8 def sign_out!(options = {}) before_action(options) { sign_out! } end
sudo_mode(options = {})
click to toggle source
# File lib/hello/rails_controller.rb, line 26 def sudo_mode(options = {}) before_action(options) { sudo_mode } end