Sha256: d5bfb348fd2151752aa1653ccb0dce1122d33a67a9a3f7d32be59f0c15f03fd9
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
Popolo::Engine.routes.draw do resources :areas, only: [:index, :show] resources :organizations, only: [:index, :show] resources :people, only: [:index, :show] resources :posts, only: [:index, :show] match 'areas/*path/areas' => 'areas#nested_index', as: 'nested_areas' match 'areas/*path' => 'areas#nested_show', as: 'nested_area' match 'organizations/*path/organizations' => 'organizations#nested_index', as: 'nested_organizations' match 'organizations/*path' => 'organizations#nested_show', as: 'nested_organization' # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
popolo-0.0.1 | config/routes.rb |