lib/apimaster/controllers/errors.rb in apimaster-0.0.6 vs lib/apimaster/controllers/errors.rb in apimaster-0.0.7
- old
+ new
@@ -23,10 +23,10 @@
superclass.error do
raise env['sinatra.error'] if development?
json :message => "Internal Server Error"
end
- not_found do
+ superclass.not_found do
json message: "Not Found"
end
end
end