config/routes.rb in brightcontent-pages-2.0.26 vs config/routes.rb in brightcontent-pages-2.0.27
- old
+ new
@@ -1,4 +1,9 @@
Brightcontent::Engine.routes.draw do
- resources :pages
+ resources :pages do
+ collection do
+ get :index
+ post :rebuild
+ end
+ end
root to: "pages#index"
end