summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/doorkeeper/authorizations/redirect.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/doorkeeper/authorizations/redirect.html.haml b/app/views/doorkeeper/authorizations/redirect.html.haml
index 2fefbac3802..9580f33c88a 100644
--- a/app/views/doorkeeper/authorizations/redirect.html.haml
+++ b/app/views/doorkeeper/authorizations/redirect.html.haml
@@ -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}";