添加一些对代码理解的注释

dev_repository_hjq
lizanle 10 years ago
parent 725b2749e2
commit 8f5e613477

@ -64,7 +64,9 @@ class Issue < ActiveRecord::Base
},
:url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o}},
:type => Proc.new {|o| 'issue' + (o.closed? ? ' closed' : '') }
# Time 2015-01-31 13:52:53
# Author lizanle
# Description 将hash传进去
acts_as_activity_provider :find_options => {:include => [:project, :author, :tracker]},
:author_key => :author_id

Loading…
Cancel
Save