-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce JSON response in controller #46
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to support json for all the controller actions. Also this makes it difficult to judge to the change that you actually wanted to do. Can you maybe isolate the change in its own PR?
e7aca67
to
684d9ea
Compare
Revert "Update json tests" This reverts commit 7ff1ffdc7e718c75a7297cbdda699bd40c6f81e2. Refactor controller Fix specs Fix linter Add api test Update translation_files_controller Fix linter
This reverts commit a8b6bd9.
684d9ea
to
41111ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I updated one line and merged!
Closes #51
Added JSON responses to translation_files_controller where necessary. Updated stimulus controller to fetch and display fallback translation to improve UX.