1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-08 20:49:50 +00:00
discourse/app/serializers/published_page_serializer.rb
2020-06-17 12:42:20 +02:00

10 lines
158 B
Ruby

# frozen_string_literal: true
class PublishedPageSerializer < ApplicationSerializer
attributes :id, :slug, :public
def id
object.topic_id
end
end