Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/doorkeeper/authorizations/redirect.html.haml')
-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}";