fixes #2599: Show more info when a BUR is approved/rejected
This commit is contained in:
@@ -137,7 +137,7 @@ class BulkUpdateRequest < ActiveRecord::Base
|
||||
def update_forum_topic_for_approve
|
||||
if forum_topic
|
||||
forum_topic.posts.create(
|
||||
:body => "The bulk update request ##{id} has been approved."
|
||||
:body => "\"The bulk update request ##{id} has been approved.\":/bulk_update_requests/#{id}"
|
||||
)
|
||||
end
|
||||
end
|
||||
@@ -145,7 +145,7 @@ class BulkUpdateRequest < ActiveRecord::Base
|
||||
def update_forum_topic_for_reject
|
||||
if forum_topic
|
||||
forum_topic.posts.create(
|
||||
:body => "The bulk update request ##{id} has been rejected."
|
||||
:body => "\"The bulk update request ##{id} has been rejected.\":/bulk_update_requests/#{id}"
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user