summaryrefslogtreecommitdiffstats
path: root/app/views/users/_mail_notifications.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-12 14:05:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-12 14:05:19 +0000
commit1d4f28a54dec696e34f1477f440471c97d521963 (patch)
tree0496efce64085a5d56a7d07cb4474c0ffb083d99 /app/views/users/_mail_notifications.html.erb
parente4f319fe6122d466ac57fc18761d8ac78c981e60 (diff)
downloadredmine-1d4f28a54dec696e34f1477f440471c97d521963.tar.gz
redmine-1d4f28a54dec696e34f1477f440471c97d521963.zip
Removed no longer needed to_sym.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4495 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users/_mail_notifications.html.erb')
-rw-r--r--app/views/users/_mail_notifications.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_mail_notifications.html.erb b/app/views/users/_mail_notifications.html.erb
index d29250893..776bdd3f4 100644
--- a/app/views/users/_mail_notifications.html.erb
+++ b/app/views/users/_mail_notifications.html.erb
@@ -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 %>