mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Fix grammar per nullvoxpopli [ci skip]
This commit is contained in:
parent
9030c2b065
commit
13c9a90fa5
@ -82,7 +82,9 @@ ActiveModelSerializers will use `PostSerializer::CommentSerializer` (thus includ
|
|||||||
|
|
||||||
## Rails Integration
|
## Rails Integration
|
||||||
|
|
||||||
ActiveModelSerializers will automatically integrate with you Rails app, you won't need to update your controller, this is a example of how it will look like:
|
ActiveModelSerializers will automatically integrate with your Rails app,
|
||||||
|
so you won't need to update your controller.
|
||||||
|
This is a example of how the controller will look:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
class PostsController < ApplicationController
|
class PostsController < ApplicationController
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user