diff --git a/app/views/layouts/shared/_header.html.erb b/app/views/layouts/shared/_header.html.erb
index 5d7f18c16..0bb3600f3 100755
--- a/app/views/layouts/shared/_header.html.erb
+++ b/app/views/layouts/shared/_header.html.erb
@@ -31,7 +31,12 @@
-
- <%= button_to "Visit Tutorial", "https://github.com/OWASP/railsgoat/wiki/tutorials", {:class => "btn", :method => "get"} %>
+ <%= button_to "Visit Tutorial", nil,
+ {
+ :class => "btn",
+ :method => "get",
+ :onclick => "window.open('https://github.com/OWASP/railsgoat/wiki/tutorials', '_blank')"
+ } %>
@@ -55,7 +60,12 @@
-
- <%= button_to "Visit Tutorial", "https://github.com/OWASP/railsgoat/wiki/tutorials", {:class => "btn", :method => "get"} %>
+ <%= button_to "Visit Tutorial", nil,
+ {
+ :class => "btn",
+ :method => "get",
+ :onclick => "window.open('https://github.com/OWASP/railsgoat/wiki/tutorials', '_blank')"
+ } %>