From affc429496632e7ce66daf2327346c020a134dbd Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Thu, 28 Jul 2016 11:08:55 +0200 Subject: [PATCH] Remove experiments index --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index b4af37a09..dabf2e151 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -101,7 +101,7 @@ Rails.application.routes.draw do get 'users/edit', to: 'user_projects#index_edit' end - resources :experiments, only: [:show] do + resources :experiments do member do get 'canvas' # Overview/structure for single experiment get 'canvas/edit', to: 'canvas#edit' # AJAX-loaded canvas edit mode (from canvas)