diff --git a/app/models/site.rb b/app/models/site.rb index 57f66d2..07f03ee 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -25,7 +25,7 @@ def home end # Monkey-Patch the Application-Controller for loading the current site ApplicationController.class_eval do - before_filter :load_site + prepend_before_filter :load_site protected def load_site @site = Site.find_by_hostname(request.host)