From 12484ed4fdf5a041811e2475cee124b4640771d6 Mon Sep 17 00:00:00 2001 From: Anna Anks Nowak Date: Tue, 1 Jan 2019 18:18:20 +0100 Subject: [PATCH] Change SORTING_OPTIONS to has --- app/models/budget/investment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/budget/investment.rb b/app/models/budget/investment.rb index 16a9dff0b..fa2756ba5 100644 --- a/app/models/budget/investment.rb +++ b/app/models/budget/investment.rb @@ -1,6 +1,6 @@ class Budget class Investment < ActiveRecord::Base - SORTING_OPTIONS = [{"id": "id"}, {"title": "title"}, {"supports": "cached_votes_up"}].freeze + SORTING_OPTIONS = [{id: "id"}, {title: "title"}, {supports: "cached_votes_up"}].freeze include Rails.application.routes.url_helpers include Measurable