1
|
Rails.application.routes.draw do
|
2
|
resources :containers, :only => [:index, :new, :show, :destroy] do
|
3
|
member do
|
4
|
post :commit
|
5
|
put :power
|
6
|
end
|
7
|
end
|
8
|
|
9
|
resources :wizard_states, :only => [] do
|
10
|
resources :steps, :controller => 'containers/steps', :only => [:show, :update]
|
11
|
end
|
12
|
|
13
|
resources :image_search, :only => [] do
|
14
|
get :auto_complete_repository_name, :on => :member
|
15
|
get :auto_complete_image_tag, :on => :member
|
16
|
get :search_repository, :on => :member
|
17
|
end
|
18
|
|
19
|
resources :registries, :only => [:index, :new, :create, :update, :destroy, :edit]
|
20
|
end
|