Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fix for issue with AMS not serializing in controllers
- Loading branch information
1 parent
db4f046
commit 447f315
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
module Bitsy | ||
class ApplicationController < ActionController::API | ||
# TODO: Remove this when bug is fixed | ||
# https://github.com/rails-api/active_model_serializers/issues/600 | ||
include ActionController::Serialization | ||
end | ||
end |