Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: Snorby/snorby.org
base: ff5d3717c2
...
head fork: Snorby/snorby.org
compare: 045173561a
  • 1 commit
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on Sep 19, 2012
Dustin Webber mephux add some shitz 0451735
4 app/controllers/pages_controller.rb
View
@@ -20,4 +20,8 @@ def redirect
redirect_to "https://github.com/Snorby/snorby/zipball/v#{Snorbyorg::Versions.snorby}"
end
+ def redirect_security_onion
+ redirect_to "http://code.google.com/p/security-onion/wiki/Installation"
+ end
+
end
2  app/views/pages/home.html.erb
View
@@ -43,7 +43,7 @@
</div>
- <button id="security-onion" class='clickme trigger' data-href='<%= Snorbyorg::Versions.security_onion_download %>'>
+ <button id="security-onion" class='clickme trigger' data-href='/redirect-security-onion?security_onion=true'>
Security Onion
<span></span>
</button>
1  config/routes.rb
View
@@ -5,6 +5,7 @@
match "/version", :controller => 'Pages', :action => 'version'
match "/redirect", :controller => 'Pages', :action => 'redirect'
+ match "/redirect-security-onion", :controller => 'Pages', :action => 'redirect_security_onion'
root :to => "pages#home"

No commit comments for this range

Something went wrong with that request. Please try again.