Sha256: c1b9332b5a4de7f6044e9f3b25e00c5fa10295e48b9a86f7b03b371038c1738c

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

Popolo::Engine.routes.draw do
  resources :organizations, only: [:index, :show], id: /.*/
  resources :memberships, only: :show, id: /.*/
  resources :people, only: :show, id: /.*/
  resources :posts, only: :show, id: /.*/

  # A host application will sometimes complain about a missing `root_path`, even
  # if it defines a `root_path`. Setting a reasonable default here.
  root to: 'organizations#index'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
popolo-0.1.1 config/routes.rb
popolo-0.1.0 config/routes.rb
popolo-0.0.3 config/routes.rb