This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/serializers/gap_serializer.rb
Robin Ward 79427732b2 Show Gaps in the post stream when filters are active
Conflicts:
	app/assets/javascripts/discourse/templates/topic.js.handlebars
2013-12-05 16:46:59 -05:00

12 lines
153 B
Ruby

class GapSerializer < ApplicationSerializer
attributes :before, :after
def before
@object.before
end
def after
@object.after
end
end