Sha256: 10a0fd04f1f5ec8628d4d9b687b84750e2e8f6fc82f4caee4385def183ca1cd4

Contents?: true

Size: 200 Bytes

Versions: 3

Compression:

Stored size: 200 Bytes

Contents

Rails.application.routes.draw do
  resources :posts

  resources :categories do
    resources :posts
  end

  root 'categories#index'

  # show page related to slug
  get '/:slug' => 'pages#show'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metaslug-0.3.5 test/dummy/config/routes.rb
metaslug-0.3.4 test/dummy/config/routes.rb
metaslug-0.3.3 test/dummy/config/routes.rb