config/routes.rb in phcpress-4.0.0 vs config/routes.rb in phcpress-5.0.0

- old
+ new

@@ -1,16 +1,14 @@ Phcpress::Engine.routes.draw do - # Blog Routes - namespace :blog do - resources :posts, class_name: 'Phcpress::News::Post' + # Article Routes + namespace :articles do + resources :posts, class_name: 'Articles::Post' end - # News Routes - namespace :news do - resources :posts, class_name: 'Phcpress::Blog::Post' + # Module Routes + namespace :modules do + resources :connections, class_name: 'Modules::Connection' + resources :categories, class_name: 'Modules::Category' end - - # Categories - resources :categories, class_name: 'Phcpress::Modules::Category' end