hotfix for strange bug

This commit is contained in:
Konstantin Haase 2013-01-25 22:13:33 +01:00
parent bde974e182
commit 85e8f27047

View File

@ -18,6 +18,11 @@ class Travis::Api::App
"This feature has not yet been implemented. Sorry :(\n\nPull Requests welcome!"
end
# hotfix??
def route_missing
@app ? forward : halt 404
end
def call(env)
super
rescue Sinatra::NotFound