From becbfd62e7cd5b5554f5e9cceba11584873ee5a8 Mon Sep 17 00:00:00 2001 From: Jannis6023 Date: Thu, 16 Nov 2023 10:10:35 +0100 Subject: [PATCH] tried to fix success message --- app/controllers/surveys_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/surveys_controller.rb b/app/controllers/surveys_controller.rb index 87b0fd6..0e0b2e0 100644 --- a/app/controllers/surveys_controller.rb +++ b/app/controllers/surveys_controller.rb @@ -258,7 +258,7 @@ def vote end else if params[:option].respond_to? :each - voted_for = "
- " + params[:option].reject {|o| o.blank? }.join("
- ") + "
" + voted_for = " " + params[:option].reject {|o| o.blank? }.join(", ") else voted_for = params[:option] end