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 @@ ...@@ -3,5 +3,6 @@
%div %div
%a{ :href => redirect_uri } Click here to redirect to #{redirect_uri} %a{ :href => redirect_uri } Click here to redirect to #{redirect_uri}
:javascript = javascript_tag do
window.location= "#{redirect_uri}"; :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