config/routes.rb in phcpresspro-3.0.2 vs config/routes.rb in phcpresspro-3.0.3

- old
+ new

@@ -1,11 +1,18 @@ Phcpresspro::Engine.routes.draw do - namespace :modules do - resources :categories - end - namespace :blog do - resources :posts - end - namespace :news do - resources :posts - end + + # Blog Routes + namespace :blog do + resources :posts, class_name: 'Phcpresspro::News::Post' + end + + # News Routes + namespace :news do + resources :posts, class_name: 'Phcpresspro::Blog::Post' + end + + # Categories + namespace :modules do + resources :categories, class_name: 'Phcpresspro::Modules::Category' + end + end