add user_id has option on posts query

This commit is contained in:
João Victor Geonizeli
2022-02-28 14:12:15 -03:00
parent 5a449246b1
commit 771f1de5ba
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ class PostsController < ApplicationController
private
def query_params
params.permit(:scope, :terms)
params.permit(:scope, :terms, :user_id)
end
def post_params