Class: ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
ActionView::Helpers::TextHelper
Defined in:
app/controllers/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#honeypotObject

Generally just used for test and catching malicious users. GET /honeypot


33
34
35
# File 'app/controllers/application_controller.rb', line 33

def honeypot
  raise CanCan::AccessDenied and return
end