Sha256: 8f0807d4ae6854178b9d43bdac99ae3d5edfed35f064526228767177b1ff86a2

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

Blogit::Engine.routes.draw do
  
  resources :posts, except: [:index] do
    resources :comments, only: [:create, :destroy]
  end

  match "sitemap.xml" => 'posts#index', format: :xml

  match "page/:page" => "posts#index"

  match "posts/tagged/:tag" => 'posts#tagged', as: :tagged_blog_posts
  
  root to: "posts#index"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blogit-0.4.1 config/routes.rb
blogit-0.4.0 config/routes.rb