config/routes.rb in phcpress-42.0.0 vs config/routes.rb in phcpress-43.0.0
- old
+ new
@@ -1,7 +1,10 @@
Phcpress::Engine.routes.draw do
+ # Define Root Path
+ root 'article/posts#index'
+
# Frontend
namespace :frontend do
resources :articles
end
@@ -21,7 +24,10 @@
# Module Routes
namespace :modules do
resources :connections, class_name: 'Phcpress::Modules::Connection'
resources :categories, class_name: 'Phcpress::Modules::Category'
end
+
+ # Add Security Features
+ mount Phcaccounts::Engine => "/"
end