Revision 6771b4cd
Added by Martin Bacovsky almost 12 years ago
- ID 6771b4cd619d668d7bb79802de155e15ec0df874
config/routes.rb | ||
---|---|---|
namespace :api, :defaults => {:format => 'json'} do
|
||
scope :module => :v1, :constraints => ApiConstraints.new(:version => 1, :default => true) do
|
||
resources :bookmarks, :except => [:new, :edit]
|
||
resources :architectures, :except => [:new, :edit]
|
||
match '/', :to => 'home#index'
|
||
match 'status', :to => 'home#status', :as => "status"
|
||
end
|
Also available in: Unified diff
added architectures controller in v1 API