Closed radar closed 1 year ago
The README suggests:
You can restrict the accepted MIME types:
class Show < Hanami::Action accept :html, :json def handle(*) # ... end end
But this syntax no longer appears to be supported in this gem.
Thanks @radar, updating this README is one of our last things to do before the release :)
Looks like @solnic is onto it: https://trello.com/c/R4aGZrA3/345-update-hanami-controller-readme
The README suggests:
But this syntax no longer appears to be supported in this gem.