Permalink
Browse files

re-add missing nested build api routes

  • Loading branch information...
1 parent 0645c5d commit 79b956e6c5a5d0f998bd87aa74d6a98127eff6de @svenfuchs svenfuchs committed Oct 3, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 config/routes.rb
View
@@ -24,7 +24,10 @@
api = lambda do
constraints :format => 'json' do
- resources :repositories, :only => [:index, :show]
+ resources :repositories, :only => [:index, :show] do
+ resources :builds, :only => [:index, :show]
+ end
+
resources :builds, :only => [:index, :show]
resources :branches, :only => :index
resources :jobs, :only => [:index, :show]

0 comments on commit 79b956e

Please sign in to comment.