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