add notes about travis-ci routes
This commit is contained in:
parent
44c9b35421
commit
c9c9dc61d8
21
spec/integration/routes.backup.rb
Normal file
21
spec/integration/routes.backup.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
# api = lambda do
|
||||
# constraints :format => 'json' do
|
||||
# resources :repositories, :only => [:index, :show]
|
||||
# resources :builds, :only => [:index, :show]
|
||||
# resources :branches, :only => :index
|
||||
# resources :jobs, :only => [:index, :show]
|
||||
# resources :workers, :only => :index
|
||||
|
||||
# get 'service_hooks', :to => 'service_hooks#index'
|
||||
# put 'service_hooks/:id', :to => 'service_hooks#update', :id => /[\w-]*:[\w.-]*/
|
||||
# end
|
||||
|
||||
# constraints :owner_name => /[^\/]+/, :name => /[^\/]+/ do
|
||||
# get ':owner_name/:name.json', :to => 'repositories#show', :format => :json
|
||||
# get ':owner_name/:name/builds.json', :to => 'builds#index', :format => :json
|
||||
# get ':owner_name/:name/builds/:id.json', :to => 'builds#show', :format => :json
|
||||
# get ':owner_name/:name.png', :to => 'repositories#show', :format => :png
|
||||
# get ':owner_name/:name/cc.xml', :to => 'repositories#show', :format => :xml, :schema => 'cctray'
|
||||
# end
|
||||
# end
|
||||
|
Loading…
Reference in New Issue
Block a user