Fix New Relic

This commit is contained in:
Darren VanBuren 2014-11-21 19:18:27 -08:00
parent c42c13927c
commit 763d893231

View file

@ -7,6 +7,11 @@ Camping.goes :StargateRando
# Data was moved out to stargaterando-data.rb to keep this file clean
require './stargaterando-data'
# This sets up New Relic monitoring
def StargateRando.create
NewRelic::Agent.manual_start
end
# This holds our (currently there's only one) controllers.
module StargateRando::Controllers
class Index < R '/'
@ -83,7 +88,3 @@ module StargateRando::Views
end
end
module StargateRando
include NewRelic::Agent::Instrumentation::Camping
end