config/routes.rb in phcpresspro-4.1.2 vs config/routes.rb in phcpresspro-4.1.5
- old
+ new
@@ -1,16 +1,14 @@
Phcpresspro::Engine.routes.draw do
- namespace :modules do
- resources :connections
- end
# Article Routes
namespace :articles do
- resources :posts
+ resources :posts, class_name: 'Phcpresspro::Articles::Post'
end
- # Categories
+ # Module Routes
namespace :modules do
- resources :categories
+ resources :connections, class_name: 'Phcpresspro::Modules::Connection'
+ resources :categories, class_name: 'Phcpresspro::Modules::Category'
end
end