将新闻添加进活动
This commit is contained in:
parent
11370329dd
commit
50894d8950
|
@ -450,6 +450,7 @@ class ProjectsController < ApplicationController
|
|||
"show_files" => true,
|
||||
"show_documents" => true,
|
||||
"show_messages" => true,
|
||||
"show_news" => true,
|
||||
"show_bids" => true
|
||||
}
|
||||
@date_to ||= Date.today + 1
|
||||
|
|
|
@ -51,7 +51,7 @@ class Bid < ActiveRecord::Base
|
|||
:author => :author,
|
||||
:url => Proc.new {|o| {:controller => 'bids', :action => 'show', :id => o.id}}
|
||||
|
||||
acts_as_activity_provider :find_options => {:include => [:project, :author]},
|
||||
acts_as_activity_provider :find_options => {:include => [:projects, :author]},
|
||||
:author_key => :author_id
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue