Sha256: 1b5730e2902cd4ed6182063897d520ae0fa26c7188988c685326d27619740d22

Contents?: true

Size: 292 Bytes

Versions: 8

Compression:

Stored size: 292 Bytes

Contents

Rails.application.routes.draw do
  apipie
  resources :users do
    collection { post :create_unnested }
    resources :posts do
      resources :comments
    end
  end
  get 'archive/users/:user_id/comment/:id', :to => 'comments#show'
  get 'archive/comment/:id', :to => 'comments#show'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
apipie-bindings-0.7.0 test/dummy/config/routes.rb
apipie-bindings-0.6.0 test/dummy/config/routes.rb
apipie-bindings-0.5.0 test/dummy/config/routes.rb
apipie-bindings-0.4.0 test/dummy/config/routes.rb
apipie-bindings-0.3.0 test/dummy/config/routes.rb
apipie-bindings-0.2.3 test/dummy/config/routes.rb
apipie-bindings-0.2.2 test/dummy/config/routes.rb
apipie-bindings-0.2.1 test/dummy/config/routes.rb