Phcpresspro::Engine.routes.draw do # Article Routes namespace :articles do resources :posts, class_name: 'Phcpresspro::Articles::Post' end # Module Routes namespace :modules do resources :connections, class_name: 'Phcpresspro::Modules::Connection' resources :categories, class_name: 'Phcpresspro::Modules::Category' end end