config/routes.rb in common-content-0.0.4 vs config/routes.rb in common-content-0.0.5
- old
+ new
@@ -1,9 +1,9 @@
-Rails.application.routes.draw do
- # root :to => '404.html'
- resources :contents do
- end
-
- match 'contents/*ancestors/:id/edit' => 'contents#edit'
- match 'contents/*ancestors/:id' => 'contents#update', :via => [:put]
- match 'contents/*ancestors/:id' => 'contents#show'
-end
+Rails.application.routes.draw do
+ # root :to => '404.html'
+ resources :contents do
+ end
+
+ match 'contents/*ancestors/:id/edit' => 'contents#edit'
+ match 'contents/*ancestors/:id' => 'contents#update', :via => [:put]
+ match 'contents/*ancestors/:id' => 'contents#show'
+end