Skip to content

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.
...
  • 1 commit
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on Sep 19, 2012
@mephux mephux add some shitz 0451735
Showing with 6 additions and 1 deletion.
  1. +4 −0 app/controllers/pages_controller.rb
  2. +1 −1 app/views/pages/home.html.erb
  3. +1 −0 config/routes.rb
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.