Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: Snorby/snorby.org
base: ff5d3717c2
...
head fork: Snorby/snorby.org
compare: 045173561a
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on Sep 19, 2012
@mephux mephux add some shitz 0451735
View
4 app/controllers/pages_controller.rb
@@ -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
View
2  app/views/pages/home.html.erb
@@ -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>
View
1  config/routes.rb
@@ -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.