fix for api 404

This commit is contained in:
Kyle Drake 2016-10-26 21:34:53 -05:00
parent d5493d4d23
commit 882d2fb4b2
2 changed files with 10 additions and 0 deletions

1
app.rb
View file

@ -39,6 +39,7 @@ before do
end
not_found do
api_not_found if @api
@title = 'Not Found'
erb :'not_found'
end