Permalink
Browse files

Add redirect for /examples to catch popular broken link

  • Loading branch information...
1 parent 6d5e109 commit 5aa68fbfd48eed711cd99f6bfffe025a59893732 @bklang bklang committed Apr 7, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 app.rb
View
4 app.rb
@@ -77,6 +77,10 @@ def block_code(code, language)
redirect 'http://adhearsionconf.com'
end
+get '/examples' do
+ redirect '/docs/call-controllers'
+end
+
%w{community get-help faq irc media foundation cloud support gsoc}.each do |page|
get "/#{page}" do
haml page.to_sym

0 comments on commit 5aa68fb

Please sign in to comment.