mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
removing useless exmaple lines
This commit is contained in:
committed by
João M. D. Moura
parent
420f7959c0
commit
456f9158ca
@@ -43,7 +43,6 @@ class PostSerializer < ActiveModel::Serializer
|
||||
has_many :comments
|
||||
has_one :author
|
||||
|
||||
url :post
|
||||
end
|
||||
```
|
||||
|
||||
@@ -55,7 +54,6 @@ class CommentSerializer < ActiveModel::Serializer
|
||||
|
||||
belongs_to :post_id
|
||||
|
||||
url [:post, :comment]
|
||||
end
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user