Class: WatCatcher::WatsController

Inherits:
ActionController::Base
  • Object
show all
Includes:
CatcherOfWats
Defined in:
app/controllers/wat_catcher/wats_controller.rb

Instance Method Summary collapse

Methods included from CatcherOfWats

#catch_wats, #disable_wat_report, #report_wat?, #wat_user

Instance Method Details

#createObject



7
8
9
10
# File 'app/controllers/wat_catcher/wats_controller.rb', line 7

def create
  Report.new(nil, request: request)
  head :ok
end