mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-09 00:15:05 +00:00
79305428a7
* Add database support for list show-reply preferences * Add backend support to read and update list-specific show_replies settings * Add basic UI to set list replies setting * Add specs for list replies policy * Switch "cycling" reply policy link to a set of radio inputs * Capitalize replies_policy strings * Change radio button design to be consistent with that of the directory explorer
10 lines
165 B
Ruby
10 lines
165 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::ListSerializer < ActiveModel::Serializer
|
|
attributes :id, :title, :replies_policy
|
|
|
|
def id
|
|
object.id.to_s
|
|
end
|
|
end
|