mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 14:56:50 +00:00
Whitespace fixes
This commit is contained in:
parent
0f4b61fbcf
commit
5054d2a449
@ -48,7 +48,7 @@ module ActiveModel
|
|||||||
# class PostSerializer < ActiveModel::Serializer
|
# class PostSerializer < ActiveModel::Serializer
|
||||||
# attributes :title, :body
|
# attributes :title, :body
|
||||||
# has_many :comments
|
# has_many :comments
|
||||||
#
|
#
|
||||||
# private
|
# private
|
||||||
#
|
#
|
||||||
# def attributes
|
# def attributes
|
||||||
@ -56,7 +56,7 @@ module ActiveModel
|
|||||||
# hash.merge!(:email => post.email) if author?
|
# hash.merge!(:email => post.email) if author?
|
||||||
# hash
|
# hash
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# def author?
|
# def author?
|
||||||
# post.author == scope
|
# post.author == scope
|
||||||
# end
|
# end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user