test/templates/config/routes.rb in dry_crud-1.5.0 vs test/templates/config/routes.rb in dry_crud-1.6.0
- old
+ new
@@ -1,30 +1,30 @@
TestApp::Application.routes.draw do
-
+
resources :people do
- collection do
+ collection do
get :ajax
end
end
match 'vips' => 'vips#index', :as => :vips
-
+
namespace :admin do
resources :countries do
collection do
get :ajax
end
-
+
resources :cities do
collection do
get :ajax
end
end
end
end
root :to => 'people#index'
-
+
# Install the default routes as the lowest priority.
# Note: These default routes make all actions in every controller accessible via GET requests. You should
# consider removing or commenting them out if you're using named routes and resources.
#map.connect ':controller/:action/:id.:format'
#map.connect ':controller/:action/:id'