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:
Go MAEDA
2025-05-11 07:59:16 +00:00
parent b650804fe9
commit 403c10091f
42 changed files with 1612 additions and 11 deletions

View File

@@ -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