Sha256: f2cd6dcb53d3284e0168936661a2164d4a01a36b8a5940612cd11bbfd4df736c

Contents?: true

Size: 258 Bytes

Versions: 11

Compression:

Stored size: 258 Bytes

Contents

Rostra::Engine.routes.draw do
  resources :questions do
    put :vote, :on => :member
    resources :answers do
      put :vote, :on => :member
    end
    resources :comments, :only => [:create, :update, :destroy]
  end

  root :to => "questions#index"
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rostra-0.0.14 config/routes.rb
rostra-0.0.13 config/routes.rb
rostra-0.0.12 config/routes.rb
rostra-0.0.11 config/routes.rb
rostra-0.0.10 config/routes.rb
rostra-0.0.9 config/routes.rb
rostra-0.0.8 config/routes.rb
rostra-0.0.7 config/routes.rb
rostra-0.0.6 config/routes.rb
rostra-0.0.5 config/routes.rb
rostra-0.0.4 config/routes.rb