config/routes.rb in phcpresspro-76.0.0 vs config/routes.rb in phcpresspro-77.0.0
- old
+ new
@@ -9,10 +9,10 @@
resources :posts, class_name: 'Phcpresspro::Articles::Post'
end
# Application FrontEnd
get 'blog/index', to: 'website/pages#post_index'
- get 'blog/article', to: 'website/pages#post_single'
+ get 'blog/index/:id', to: 'website/pages#post_single'
# Application API
namespace :api do
namespace :v1 do
resources :posts, defaults: {format: 'json'}