Skip to content

Commit 2ae4664

Browse files
authored
Merge pull request #872 from locks/patch-1
Update README.md
2 parents 3cd338f + b918000 commit 2ae4664

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ Pass a block, refer to controller class methods, or both. Note that methods must
14391439
##### verify_content_type_header
14401440

14411441
By default, when controllers extend functionalities from `jsonapi-resources`, the `ActsAsResourceController#verify_content_type_header`
1442-
method will be triggered before `create`, `update`, `create_relationship` and `update_relationship` actions. This method is reponsible
1442+
method will be triggered before `create`, `update`, `create_relationship` and `update_relationship` actions. This method is responsible
14431443
for checking if client's request corresponds to the correct media type required by [JSON API](http://jsonapi.org/format/#content-negotiation-clients): `application/vnd.api+json`.
14441444
14451445
In case you need to check the media type for custom actions, just make sure to call the method in your controller's `before_action`:

0 commit comments

Comments
 (0)