Commit d9076238 authored by dcouture's avatar dcouture

Use tag helper for javascript tag in redirect

This will automatically include the nonce for CSP
parent 68e7f44b
......@@ -3,5 +3,6 @@
%div
%a{ :href => redirect_uri } Click here to redirect to #{redirect_uri}
:javascript
window.location= "#{redirect_uri}";
= javascript_tag do
:plain
window.location= "#{redirect_uri}";
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment