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