Move middleware to api file

This commit is contained in:
Hakan Ensari 2014-05-13 11:39:27 +01:00
parent 4b6fa38af9
commit 235a9e0c27
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,4 @@
require './config/environment'
require 'api'
use Honeybadger::Rack
run Sinatra::Application

View File

@ -7,6 +7,8 @@ set :root, File.expand_path('..', File.dirname(__FILE__))
configure :production do
require 'newrelic_rpm'
use Honeybadger::Rack
end
helpers do