issue id bug, readme
This commit is contained in:
parent
85c99d6abe
commit
a9aae59b28
|
@ -54,4 +54,8 @@ bundle exec rake db:migrate:up VERSION=20140410021724
|
|||
|
||||
================================================================================
|
||||
0626:新坑 journal_replies 无法删除问题
|
||||
journal_replies表没有主键,在对User调用destroy方法时候,rails默认调用查找id删除的方法,journal_replies没有id字段,导致删除失败
|
||||
journal_replies表没有主键,在对User调用destroy方法时候,rails默认调用查找id删除的方法,journal_replies没有id字段,导致删除失败
|
||||
|
||||
================================================================================
|
||||
首页:我要提问 我要反馈两个链接
|
||||
依次对应 新手讨论 网站建议 两个论坛的发帖,没有建立论坛就返回首页
|
|
@ -223,7 +223,7 @@ class Issue < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def to_param
|
||||
@to_param ||= "#{id}_#{self.project.name}(#{self.project.issues.index(self).to_i+1}-#{self.project.issues.count})"#.parameterize
|
||||
@to_param ||= "#{id} #{self.project.name}(#{self.project.issues.index(self).to_i+1}-#{self.project.issues.count})".parameterize
|
||||
end
|
||||
|
||||
# Overrides Redmine::Acts::Customizable::InstanceMethods#available_custom_fields
|
||||
|
|
Loading…
Reference in New Issue