Sha256: 578b34f89a3991346bf0f5d19e499f64b3bd91d19b0d7c00bedfb4f115bc6b1f
Contents?: true
Size: 718 Bytes
Versions: 3
Compression:
Stored size: 718 Bytes
Contents
namespace :voluntary, path: 'api', module: 'voluntary/api', defaults: {format: 'json'} do namespace :v1 do resources :stories, only: [:create, :show, :update, :destroy] do resources :tasks, only: [:index, :create] member do put :activate put :deactivate end end resources :argument_topics, only: [] do collection do get :autocomplete end end resources :arguments do collection do get :matrix end end get '/things/:left_thing_name/vs/:right_thing_name/arguments', to: 'things/arguments#comparison' resources :users do resources :organizations, only: [:index] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
voluntary-0.7.1 | config/routes/api.rb |
voluntary-0.7.0 | config/routes/api.rb |
voluntary-0.6.0 | config/routes/api.rb |