OSDN Git Service

Removed no longer needed to_sym.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 12 Dec 2010 14:05:19 +0000 (14:05 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 12 Dec 2010 14:05:19 +0000 (14:05 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4495 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/users/_mail_notifications.html.erb

index d292508..776bdd3 100644 (file)
@@ -1,5 +1,5 @@
 <p>
-<%= select_tag 'notification_option', options_for_select(@notification_options.collect {|o| [l(o.last), o.first]}, @notification_option.to_sym),
+<%= select_tag 'notification_option', options_for_select(@notification_options.collect {|o| [l(o.last), o.first]}, @notification_option),
                                       :onchange => 'if ($("notification_option").value == "selected") {Element.show("notified-projects")} else {Element.hide("notified-projects")}' %>
 </p>
 <% content_tag 'div', :id => 'notified-projects', :style => (@notification_option == 'selected' ? '' : 'display:none;') do %>