Change SORTING_OPTIONS to has
This commit is contained in:
committed by
Javi Martín
parent
2523775d9f
commit
12484ed4fd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user