Skip to content

Commit

Permalink
added page to permitted params
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHinz committed Dec 16, 2024
1 parent 64cfc43 commit ab7c048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/searches_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def index
private

def search_params
params.permit(:q, :type)
params.permit(:q, :type, :page)
end

def searchable_types
Expand Down

0 comments on commit ab7c048

Please sign in to comment.