config/routes.rb in refinerycms-pods-2.0.0 vs config/routes.rb in refinerycms-pods-2.0.1
- old
+ new
@@ -1,19 +1,19 @@
-Refinery::Core::Engine.routes.append do
-
- # Frontend routes
- namespace :pods do
- resources :pods, :path => '', :only => [:index, :show]
- end
-
- # Admin routes
- namespace :pods, :path => '' do
- namespace :admin, :path => 'refinery' do
- resources :pods, :except => :show do
- collection do
- post :update_positions
- end
- end
- end
- end
-
-end
+Refinery::Core::Engine.routes.append do
+
+ # Frontend routes
+ namespace :pods do
+ resources :pods, :path => '', :only => [:index, :show]
+ end
+
+ # Admin routes
+ namespace :pods, :path => '' do
+ namespace :admin, :path => 'refinery' do
+ resources :pods, :except => :show do
+ collection do
+ post :update_positions
+ end
+ end
+ end
+ end
+
+end