Sha256: 76fa702031d7dc158aaca83843e8e2b04da289b37e8aeed18c545daf08b4e7e4

Contents?: true

Size: 545 Bytes

Versions: 1

Compression:

Stored size: 545 Bytes

Contents

namespace :voluntary, path: 'api', module: 'voluntary/api', defaults: {format: 'json'} do
  namespace :v1 do
    resources :stories, only: [] do
      resources :tasks, only: [:index, :create]
    end
    
    resources :argument_topics, only: [] do
      collection do
        get :autocomplete
      end  
    end
    
    resources :arguments
    
    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

1 entries across 1 versions & 1 rubygems

Version Path
voluntary-0.5.2 config/routes/api.rb