Helper method for custom field title.

git-svn-id: http://svn.redmine.org/redmine/trunk@14751 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-10-25 10:54:09 +00:00
parent 25b96457c1
commit 57a22c3464
6 changed files with 15 additions and 11 deletions

View File

@@ -22,6 +22,8 @@ class CustomFieldEnumerationsController < ApplicationController
before_filter :find_custom_field
before_filter :find_enumeration, :only => :destroy
helper :custom_fields
def index
@values = @custom_field.enumerations.order(:position)
end