mirror of
https://github.com/redmine/redmine.git
synced 2025-11-05 04:45:57 +01:00
Introduce reactions feature (so-called "like button") to issues, notes, news, and forums (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23755 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -51,6 +51,8 @@ class MessagesController < ApplicationController
|
||||
offset(@reply_pages.offset).
|
||||
to_a
|
||||
|
||||
Message.preload_reaction_details(@replies)
|
||||
|
||||
@reply = Message.new(:subject => "RE: #{@message.subject}")
|
||||
render :action => "show", :layout => false if request.xhr?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user