config/routes.rb in field_test-0.1.2 vs config/routes.rb in field_test-0.2.0
- old
+ new
@@ -1,3 +1,6 @@
FieldTest::Engine.routes.draw do
- root "home#index"
+ resources :experiments, only: [:show]
+ resources :memberships, only: [:update]
+ get "participants/:id", to: "participants#show", constraints: {id: /.+/}, as: :participant
+ root "experiments#index"
end