Skip to content

Commit

Permalink
fix: remove unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuki-joto committed Jan 25, 2023
1 parent b6e13b1 commit 2871c0d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def order_by_query_param

def order_by_cookie
cookie = cookies[order_cookie_name]
param = params[:orderable]
cookie if cookie && available_orders.include?(cookie)
end

Expand Down

0 comments on commit 2871c0d

Please sign in to comment.