Revision c72a2f0f
Added by Tomáš Strachota almost 12 years ago
- ID c72a2f0f078850c23e355d9173157c1ebe574789
config/routes.rb | ||
---|---|---|
scope :module => :v1, :constraints => ApiConstraints.new(:version => 1, :default => true) do
|
||
resources :bookmarks, :except => [:new, :edit]
|
||
resources :architectures, :except => [:new, :edit]
|
||
resources :operatingsystems, :except => [:new, :edit] do
|
||
member do
|
||
get 'bootfiles'
|
||
end
|
||
end
|
||
|
||
match '/', :to => 'home#index'
|
||
match 'status', :to => 'home#status', :as => "status"
|
||
end
|
Also available in: Unified diff
api v1 - operatingsystems controller