From 697b8c5bd5abdc976d9427accb94701ef36957bd Mon Sep 17 00:00:00 2001 From: Godwin Date: Mon, 22 Aug 2016 11:19:45 -0700 Subject: [PATCH] Fixed error deleting a workshop --- app/controllers/conferences_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/conferences_controller.rb b/app/controllers/conferences_controller.rb index 0f86c0e..2ecaa28 100644 --- a/app/controllers/conferences_controller.rb +++ b/app/controllers/conferences_controller.rb @@ -1057,7 +1057,7 @@ class ConferencesController < ApplicationController @workshop.destroy end - return redirect_to workshops_url + return redirect_to register_step_path(@this_conference.slug, 'workshops') end return redirect_to view_workshop_url(@this_conference.slug, @workshop.id) end