config/routes.rb in ecm_blog-1.2.1 vs config/routes.rb in ecm_blog-1.3.0

- old
+ new

@@ -1,9 +1,12 @@ Ecm::Blog::Engine.routes.draw do localized do scope :ecm_blog_engine do resources :posts, only: [:index, :show] do get 'page/:page', action: :index, on: :collection + get ':year/:month/:day', action: :index, on: :collection, constraints: { year: /\d+/, month: /\d+/, day: /\d+/ }, as: :day + get ':year/:month', action: :index, on: :collection, constraints: { year: /\d+/, month: /\d+/ }, as: :month + get ':year', action: :index, on: :collection, constraints: { year: /\d+/ }, as: :year end root to: 'posts#index' end end