##// END OF EJS Templates
Prepend page title to anchor in single page wiki HTML export to make links more unique....
Prepend page title to anchor in single page wiki HTML export to make links more unique. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r6754:5ed07bfe0661
r7442:8bb90f87fb73
Show More
issue_custom_field.rb
27 lines | 1.2 KiB | text/x-ruby | RubyLexer
/ app / models / issue_custom_field.rb
Toshi MARUYAMA
remove trailing white-spaces from app/models/issue_custom_field.rb....
r6754 # Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 #
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
Toshi MARUYAMA
remove trailing white-spaces from app/models/issue_custom_field.rb....
r6754 #
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Toshi MARUYAMA
remove trailing white-spaces from app/models/issue_custom_field.rb....
r6754 #
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class IssueCustomField < CustomField
Jean-Philippe Lang
fixed #9308 table_name pre/suffix support...
r334 has_and_belongs_to_many :projects, :join_table => "#{table_name_prefix}custom_fields_projects#{table_name_suffix}", :foreign_key => "custom_field_id"
has_and_belongs_to_many :trackers, :join_table => "#{table_name_prefix}custom_fields_trackers#{table_name_suffix}", :foreign_key => "custom_field_id"
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 has_many :issues, :through => :issue_custom_values
Toshi MARUYAMA
remove trailing white-spaces from app/models/issue_custom_field.rb....
r6754
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 def type_name
:label_issue_plural
end
end
Jean-Philippe Lang
0.3 unstable...
r10