spec/dummy/config/routes.rb in nested_form-0.2.2 vs spec/dummy/config/routes.rb in nested_form-0.2.3
- old
+ new
@@ -1,6 +1,8 @@
Dummy::Application.routes.draw do
- resources :projects
+ resources :projects, :only => %w(new create)
+ get '/:controller/:action'
+
# The priority is based upon order of creation:
# first created -> highest priority.
# Sample of regular route:
# match 'products/:id' => 'catalog#view'