Let custom field formats control how they are edited.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3675 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
4cb943571a
commit
538642c5c4
2 files changed
+12
-3
No files matched your search
@@ -48,6 +48,13 @@ module Redmine
|
||||
}
|
||||
end
|
||||
|
||||
# Allow displaying the edit type of another field_format
|
||||
#
|
||||
# Example: display a custom field as a list
|
||||
def edit_as
|
||||
name
|
||||
end
|
||||
|
||||
class << self
|
||||
def map(&block)
|
||||
yield self
|
||||
|
||||
Reference in new issue
Block a user