This commit is contained in:
yanxd 2014-03-24 08:31:59 +08:00
parent 404568be89
commit 3b13183dbb
1 changed files with 5 additions and 0 deletions

View File

@ -212,9 +212,14 @@ class Issue < ActiveRecord::Base
@workflow_rule_by_attribute = nil
@assignable_versions = nil
@relations = nil
@to_param = nil
base_reload(*args)
end
# def to_param
# @to_param ||=
# end
# Overrides Redmine::Acts::Customizable::InstanceMethods#available_custom_fields
def available_custom_fields
(project && tracker) ? (project.all_issue_custom_fields & tracker.custom_fields.all) : []