mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FEATURE: new 'raw email' modal when listing rejected emails
This commit is contained in:
@ -79,7 +79,7 @@ class PostsController < ApplicationController
|
||||
def raw_email
|
||||
post = Post.find(params[:id].to_i)
|
||||
guardian.ensure_can_view_raw_email!(post)
|
||||
render json: {raw_email: post.raw_email}
|
||||
render json: { raw_email: post.raw_email }
|
||||
end
|
||||
|
||||
def short_link
|
||||
|
Reference in New Issue
Block a user