mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
lint the file
somehow I did not notice this on save
This commit is contained in:
parent
a5ce9cb470
commit
7ce58df7bf
@ -944,7 +944,7 @@ def inline_img_tags(post)
|
|||||||
local_file = File.join(Rails.root, "public", $2)
|
local_file = File.join(Rails.root, "public", $2)
|
||||||
if File.exist?(local_file)
|
if File.exist?(local_file)
|
||||||
File.open(local_file) do |f|
|
File.open(local_file) do |f|
|
||||||
upload = UploadCreator.new(f,"image").create_for(post.user_id)
|
upload = UploadCreator.new(f, "image").create_for(post.user_id)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user