config/routes.rb in phcpresspro-1.5.3 vs config/routes.rb in phcpresspro-1.6.0
- old
+ new
@@ -1,22 +1,13 @@
Phcpresspro::Engine.routes.draw do
- constraints(Mtdevise::Constraints::SubdomainRequired) do
- # Blog Section
- namespace :blog do
- resources :posts
- end
-
- # News Section
- namespace :news do
- resources :posts
- end
-
- # Serve Out Pages
- get 'website/pages/newspage', :path => "news"
- get 'website/pages/blogpage', :path => "blog"
+ # Blog Routes
+ namespace :blog do
+ resources :posts
end
-
- # Mount PHCEngines
- mount Mtdevise::Engine, :at => '/'
+
+ # News Routes
+ namespace :news do
+ resources :posts
+ end
end