diff --git a/app/validation/posts/post_contract.rb b/app/validation/posts/post_contract.rb index 816bf50..7ec606a 100644 --- a/app/validation/posts/post_contract.rb +++ b/app/validation/posts/post_contract.rb @@ -11,6 +11,7 @@ module Adamantium required(:post_type).value(included_in?: %w[post]) required(:syndicate_to).array(:string) required(:photos).array(:hash) + required(:location).maybe(:string) end end end