Sha256: 8bc95267c501d735d0738682d684d17ab31d2fb3488f1dce3f4104f590ada54a

Contents?: true

Size: 253 Bytes

Versions: 4

Compression:

Stored size: 253 Bytes

Contents

Blogit::Engine.routes.draw do
  
  resources :posts 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

4 entries across 4 versions & 1 rubygems

Version Path
blogit-0.4.5 config/routes.rb
blogit-0.4.4 config/routes.rb
blogit-0.4.3 config/routes.rb
blogit-0.4.2 config/routes.rb