From cc9298cf4622f4cb706582aea44076b243996fcd Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 23 Feb 2020 02:44:42 -0600 Subject: [PATCH] posts: fix newpool: metatag. --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index 8c5ef6fff..9e18f67d7 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -742,7 +742,7 @@ class Post < ApplicationRecord when /^newpool:(.+)$/i pool = Pool.find_by_name($1) if pool.nil? - pool = Pool.create(name: $1, creator: CurrentUser.user, description: "This pool was automatically generated") + pool = Pool.create(name: $1, description: "This pool was automatically generated") end end end