mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
FEATURE: Allow posting a link with topics
This commit is contained in:
@ -574,7 +574,6 @@ class PostsController < ApplicationController
|
||||
|
||||
end
|
||||
|
||||
params.require(:raw)
|
||||
result = params.permit(*permitted).tap do |whitelisted|
|
||||
whitelisted[:image_sizes] = params[:image_sizes]
|
||||
# TODO this does not feel right, we should name what meta_data is allowed
|
||||
|
Reference in New Issue
Block a user