mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 08:39:38 -05:00
12 lines
153 B
Ruby
12 lines
153 B
Ruby
|
class GapSerializer < ApplicationSerializer
|
||
|
attributes :before, :after
|
||
|
|
||
|
def before
|
||
|
@object.before
|
||
|
end
|
||
|
|
||
|
def after
|
||
|
@object.after
|
||
|
end
|
||
|
end
|