Skip to content

Instantly share code, notes, and snippets.

@szimek
Created June 21, 2010 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save szimek/446644 to your computer and use it in GitHub Desktop.
Save szimek/446644 to your computer and use it in GitHub Desktop.
Blitzkrieg
class ApplicationController < ActionController::Base
prepend_before_filter :blitzkrieg
def blitzkrieg
redirect_to "/berlin" and return if request.path == root_path
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment