Skip to content

Commit

Permalink
Revert "Redirect old domain to new domain."
Browse files Browse the repository at this point in the history
This reverts commit 9f919a0.
  • Loading branch information
Jesse Storimer committed Jun 24, 2009
1 parent 9f919a0 commit f238ada
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/controllers/application.rb
Expand Up @@ -3,7 +3,6 @@

class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
before_filter :redirect_shopifyapps_to_heroku

# See ActionController::RequestForgeryProtection for details
# Uncomment the :secret if you're not using the cookie session store
Expand All @@ -18,12 +17,6 @@ class ApplicationController < ActionController::Base
def help
Helper.instance
end

def redirect_shopifyapps_to_heroku
if request.domain =~ /shopifyapps/
redirect_to "http://importer.heroku.com#{request.request_uri}"
end
end

class Helper
include Singleton
Expand Down

0 comments on commit f238ada

Please sign in to comment.