diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-21 01:56:43 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-21 01:56:43 +0000 |
commit | 33745d1972fc7261b3ecf6580d562f0831b293b1 (patch) | |
tree | 124b07d2779f34dc6296cbda344540627741680b /app/models | |
parent | 65cc96e334e818da7ad5cdf6cdf4a92e38feb934 (diff) | |
download | redmine-33745d1972fc7261b3ecf6580d562f0831b293b1.tar.gz redmine-33745d1972fc7261b3ecf6580d562f0831b293b1.zip |
remove trailing white-spaces from app/models/message.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6506 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/message.rb b/app/models/message.rb index 0a50eccef..d8ad0bd04 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -29,7 +29,7 @@ class Message < ActiveRecord::Base acts_as_event :title => Proc.new {|o| "#{o.board.name}: #{o.subject}"}, :description => :content, :type => Proc.new {|o| o.parent_id.nil? ? 'message' : 'reply'}, - :url => Proc.new {|o| {:controller => 'messages', :action => 'show', :board_id => o.board_id}.merge(o.parent_id.nil? ? {:id => o.id} : + :url => Proc.new {|o| {:controller => 'messages', :action => 'show', :board_id => o.board_id}.merge(o.parent_id.nil? ? {:id => o.id} : {:id => o.parent_id, :r => o.id, :anchor => "message-#{o.id}"})} acts_as_activity_provider :find_options => {:include => [{:board => :project}, :author]}, |