HuntersKeepers
HuntersKeepers copied to clipboard
Reduce number of CSP + Turbolinks complaints
fixes #272
Description of Changes
Reload stylesheet for Turbolinks, so the CSP allows it.
Also, remove inline styles and replace with cards, so the CSP stops complaining.
Did not fix: CSP complains on back button.
Screenshots
Problem Solved
CSP was throwing errors into the console due to inline styles and unreloaded stylesheets from turbolinks.
PR Checklist
- [ ] Unit test coverage?
- [ ] Code Climate Passes? (Reach out to @ChaelCodes if checks need dismissing)
- [ ] Example Seed file if new data table introduced?
Please review my lazy CSP fixes PR @sjaustirni