Revision 708401d0
Added by Thomas McKay over 10 years ago
config/routes/api/v2.rb | ||
---|---|---|
match '/available' => 'subscriptions#available', :via => :get
|
||
end
|
||
end
|
||
api_resources :system_groups, :only => [:index] do
|
||
member do
|
||
put :add_activation_keys
|
||
put :remove_activation_keys
|
||
end
|
||
api_resources :system_groups, :only => [:index]
|
||
member do
|
||
match '/system_groups' => 'activation_keys#add_system_groups', :via => :post
|
||
match '/system_groups' => 'activation_keys#remove_system_groups', :via => :put
|
||
match '/system_groups/available' => 'activation_keys#available_system_groups', :via => :get
|
||
end
|
||
end
|
||
|
||
... | ... | |
end
|
||
end
|
||
|
||
api_resources :subscriptions, :only => [:show]
|
||
|
||
api_resources :system_groups, :only => system_onlies do
|
||
member do
|
||
post :copy
|
Also available in: Unified diff
ak-sysgroup - updated activation keys for system groups
ak-sysgroup - rubocop cleanup
ak-sysgroup - remove obsolete view files
ak-sysgroup - pull-request clean up