Sha256: 683ce9f9285dfaa9876f8f3f8fd6a43e521d5e54a6a8f9e0c95a3b837f14e0e0

Contents?: true

Size: 272 Bytes

Versions: 9

Compression:

Stored size: 272 Bytes

Contents

Blogit::Engine.routes.draw do
  
  resources :posts, except: [:index] do
    resources :comments, only: [:create, :destroy]
  end
  
  match "page/:page" => "posts#index"
  match "posts/tagged/:tag" => 'posts#tagged', as: :tagged_blog_posts
  
  root to: "posts#index"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blogit-0.3.2 config/routes.rb
blogit-0.3.1 config/routes.rb
blogit-0.3.0 config/routes.rb
blogit-0.2.1 config/routes.rb
blogit-0.2.0 config/routes.rb
blogit-0.1.0 config/routes.rb
blogit-0.0.13 config/routes.rb
blogit-0.0.12 config/routes.rb
blogit-0.0.11 config/routes.rb