Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Javascript to work with new Haml 5.0 escape behavior
The interpolated Ruby in a Haml :javascript filter now gets HTML escaped, breaking the way it was being used in the shared _head template to pass the set of valid languages and projects. The fix is to pass it as an HTML dataset instead, and pull that into the Javascript afterwards. I followed the example of railsadminteam/rails_admin#2870
- Loading branch information