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