lib/vex/action_controller/verify_hostname.rb in vex-0.2.6 vs lib/vex/action_controller/verify_hostname.rb in vex-0.2.7

- old
+ new

@@ -1,7 +1,6 @@ module ActionController::VerifyHostname - - def self.verify_hostname(matcher=nil, &block) + def verify_hostname(matcher=nil, &block) matcher ||= Proc.new before_filter do |controller| host = controller.request.host case matcher