mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-12 13:16:55 +00:00
* 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
12 lines
149 B
Ruby
12 lines
149 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RelationshipFilter
|
|
KEYS = %i(
|
|
relationship
|
|
status
|
|
by_domain
|
|
activity
|
|
order
|
|
).freeze
|
|
end
|