docbrown/app/controllers/api
Alex 78a25dfd54
Validate that API article params are a Hash (#5963)
* Add check for article param being a Hash & spec

* Remove unnecessary blank line

* Move logic to private method and before_action call

* Change check_if to validate

* Use is_a? to type check

* Fix type check for specs
2020-02-10 10:24:11 -05:00
..
v0 Validate that API article params are a Hash (#5963) 2020-02-10 10:24:11 -05:00