Created
June 21, 2010 09:36
-
-
Save szimek/446644 to your computer and use it in GitHub Desktop.
Blitzkrieg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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