Commiting
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
class REST::GroupSerializer < ActiveModel::Serializer
|
||||
include RoutingHelper
|
||||
|
||||
attributes :id, :title, :description, :description_html, :cover_image_url, :is_archived,
|
||||
:member_count, :created_at, :is_private, :is_visible, :slug, :tags, :group_category, :password,
|
||||
:has_password
|
||||
attributes :id, :title, :description, :description_html,
|
||||
:cover_image_url, :is_archived, :member_count,
|
||||
:created_at, :is_private, :is_visible, :slug,
|
||||
:tags, :group_category, :password, :has_password
|
||||
|
||||
def id
|
||||
object.id.to_s
|
||||
|
||||
Reference in New Issue
Block a user