Project

General

Profile

« Previous | Next » 

Revision 2980561e

Added by Daniel Lobato Garcia over 10 years ago

fixes #3960 - wrap APIv2 errors in an "error" node

(cherry picked from commit 0f7d219a4a65cd795eecd05117b08511d9025de2)

View differences:

config/routes/test.rb
if Rails.env.test?
Foreman::Application.routes.draw do
namespace :api do
resources :testable, :only => :index
resources :testable, :only => :index do
get :raise_error, :on => :collection
end
end
end
end

Also available in: Unified diff