config/routes.rb in spud_cms-0.8.6 vs config/routes.rb in spud_cms-0.8.7
- old
+ new
@@ -2,9 +2,12 @@
namespace :spud do
namespace :admin do
resources :pages do
get :page_parts, :on => :collection
get :clear, :on => :collection
+ member do
+ post 'preview'
+ end
end
resources :templates
resources :menus do
resources :menu_items