Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Only render json for manifest requests
We were getting the error: `ActionController::RespondToMismatchError in Hyrax::ImagesController#manifest` `respond_to was called multiple times and matched with conflicting formats in this action. Please note that you may only call respond_to and match on a single format per action.` This commit fixes that by only rendering json for manifest requests.
- Loading branch information