Revision 0f7d219a
Added by Daniel Lobato Garcia over 10 years ago
app/controllers/api/v1/home_controller.rb | ||
---|---|---|
|
||
def status
|
||
end
|
||
|
||
def route_error
|
||
render_error 'route_error', :status => :not_found
|
||
end
|
||
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #3960 - wrap APIv2 errors in an "error" node