Skip to content

Commit

Permalink
Remove binding.pry call.
Browse files Browse the repository at this point in the history
  • Loading branch information
briandmcnabb committed Dec 2, 2012
1 parent 2041fb3 commit bbcf1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CartoCMS/engine.rb
Expand Up @@ -5,7 +5,7 @@ class Engine < Rails::Engine

# Rack Rewrite - No WWW
config.app_middleware.insert_before(Rack::Lock, Rack::Rewrite) do
r301 /.*/, Proc.new { |path, rack_env| binding.pry; "http://#{rack_env['HTTP_HOST'].gsub(/www\./i, '') }$&" },
r301 /.*/, Proc.new { |path, rack_env| "http://#{rack_env['HTTP_HOST'].gsub(/www\./i, '') }$&" },
:if => Proc.new { |rack_env| rack_env['SERVER_NAME'] =~ /www\./i }
end

Expand Down

0 comments on commit bbcf1f7

Please sign in to comment.