Browse Source

Fixed error deleting a workshop

development
Godwin 8 years ago
committed by GitHub
parent
commit
697b8c5bd5
  1. 2
      app/controllers/conferences_controller.rb

2
app/controllers/conferences_controller.rb

@ -1057,7 +1057,7 @@ class ConferencesController < ApplicationController
@workshop.destroy @workshop.destroy
end end
return redirect_to workshops_url return redirect_to register_step_path(@this_conference.slug, 'workshops')
end end
return redirect_to view_workshop_url(@this_conference.slug, @workshop.id) return redirect_to view_workshop_url(@this_conference.slug, @workshop.id)
end end

Loading…
Cancel
Save