Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 1 commit
  • 3 files changed
  • 0 comments
  • 1 contributor
4  app/controllers/pages_controller.rb
@@ -20,4 +20,8 @@ def redirect
20 20
     redirect_to "https://github.com/Snorby/snorby/zipball/v#{Snorbyorg::Versions.snorby}"
21 21
   end
22 22
 
  23
+  def redirect_security_onion
  24
+    redirect_to "http://code.google.com/p/security-onion/wiki/Installation"
  25
+  end
  26
+
23 27
 end
2  app/views/pages/home.html.erb
@@ -43,7 +43,7 @@
43 43
 
44 44
       </div>
45 45
     
46  
-      <button id="security-onion" class='clickme trigger' data-href='<%= Snorbyorg::Versions.security_onion_download %>'>
  46
+      <button id="security-onion" class='clickme trigger' data-href='/redirect-security-onion?security_onion=true'>
47 47
         Security Onion 
48 48
         <span></span>
49 49
       </button> 
1  config/routes.rb
@@ -5,6 +5,7 @@
5 5
 
6 6
   match "/version", :controller => 'Pages', :action => 'version'
7 7
   match "/redirect", :controller => 'Pages', :action => 'redirect'
  8
+  match "/redirect-security-onion", :controller => 'Pages', :action => 'redirect_security_onion'
8 9
 
9 10
   root :to => "pages#home"
10 11
 

No commit comments for this range

Something went wrong with that request. Please try again.