forked from asonix/mastodon
* Fix unused role routes being generated * Remove unused JavaScript code * Refactor filters code to be DRYer * Fix `.count == 0` comparisons to `.empty?` in views * Fix filters in views
11 lines
149 B
Ruby
11 lines
149 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RelationshipFilter
|
|
KEYS = %i(
|
|
relationship
|
|
status
|
|
by_domain
|
|
activity
|
|
order
|
|
).freeze
|
|
end
|