From 0ee2668a4fd5604f4e308e60656ec3849b16288d Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 11 Jun 2013 14:27:27 +0300 Subject: [PATCH] Fixed users_select_tag method --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4cbc4d187e8..663a414fff2 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -194,7 +194,7 @@ module ApplicationHelper def users_select_tag(id, opts = {}) css_class = "ajax-users-select " css_class << "multiselect " if opts[:multiple] - css_class << opts[:class] || '' + css_class << (opts[:class] || '') value = opts[:selected] || '' hidden_field_tag(id, value, class: css_class)