config/routes.rb in kuhsaft-1.2.4 vs config/routes.rb in kuhsaft-1.2.5
- old
+ new
@@ -1,8 +1,11 @@
Kuhsaft::Engine.routes.draw do
namespace :cms do
resources :pages, :except => :show
- resources :bricks, :except => [:new, :edit, :index]
+ resources :bricks, :except => [:new, :edit, :index] do
+ post :sort, :on => :collection
+ end
+
resources :assets
root :to => 'pages#index'
end
match '/:locale/*url' => 'pages#show'