Skip to content

Commit f5bb3c5

Browse files
vdmgolubbeauby
authored andcommitted
Fix typos in Deserializing guide (#10)
1 parent 493b4d4 commit f5bb3c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/guides/deserialization/deserializing.html.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Example:
5858

5959
```ruby
6060
class PostsController < ApplicationController
61-
desierializable_resource :post, DeserializablePost, only: [:create, :update]
61+
deserializable_resource :post, DeserializablePost, only: [:create, :update]
6262

6363
# ...
6464

@@ -96,7 +96,7 @@ class API::Controllers::Create
9696
include API::Action
9797
include JSONAPI::Hanami::Action
9898

99-
desierializable_resource :post
99+
deserializable_resource :post
100100

101101
params do
102102
# validations on params[:post]

0 commit comments

Comments
 (0)