summaryrefslogtreecommitdiffstats
path: root/app/views/enumerations
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-15 13:33:09 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-15 13:33:09 +0000
commit4601ed2f3aebc545024287e318494ce32bc5803f (patch)
tree40f4bda265bbc92f9ddaed1bca6deb7769f2ccae /app/views/enumerations
parent13e2c727cfa7b3a9e3e9bd0563cda0a15ee3892d (diff)
downloadredmine-4601ed2f3aebc545024287e318494ce32bc5803f.tar.gz
redmine-4601ed2f3aebc545024287e318494ce32bc5803f.zip
Replaces Enumeration.get_values and Enumeration.default with named scopes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/enumerations')
-rw-r--r--app/views/enumerations/list.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/enumerations/list.rhtml b/app/views/enumerations/list.rhtml
index 7f3886b44..c4a9af27b 100644
--- a/app/views/enumerations/list.rhtml
+++ b/app/views/enumerations/list.rhtml
@@ -3,7 +3,7 @@
<% Enumeration::OPTIONS.each do |option, params| %>
<h3><%= l(params[:label]) %></h3>
-<% enumerations = Enumeration.get_values(option) %>
+<% enumerations = Enumeration.values(option) %>
<% if enumerations.any? %>
<table class="list">
<% enumerations.each do |enumeration| %>