From 6edefe3c68e2fa00e2d8a1c7b99fa1af9646d389 Mon Sep 17 00:00:00 2001 From: Ben Hollis Date: Sun, 11 Mar 2012 23:09:43 -0700 Subject: [PATCH] Further tweaks that expose another bug - ignore with proxies leads to Not Found errors. Same issue as #302. --- middleman-core/fixtures/dynamic-pages-app/config.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/middleman-core/fixtures/dynamic-pages-app/config.rb b/middleman-core/fixtures/dynamic-pages-app/config.rb index f0b7299d..99c96640 100644 --- a/middleman-core/fixtures/dynamic-pages-app/config.rb +++ b/middleman-core/fixtures/dynamic-pages-app/config.rb @@ -14,16 +14,16 @@ page "target_ignore3.html", :proxy => "should_be_ignored7.html", :ignore => true page "/target_ignore4.html", :proxy => "should_be_ignored8.html", :ignore => true %w(one two).each do |num| - page "/fake/#{num}.html", :proxy => "/real/index.html" do + page "/fake/#{num}.html", :proxy => "/real/index.html", :ignore => true do @num = num end - page "fake2/#{num}.html", :proxy => "/real/index.html" do + page "fake2/#{num}.html", :proxy => "/real/index.html", :ignore => true do @num = num end - page "fake3/#{num}.html", :proxy => "real/index.html" do + page "fake3/#{num}.html", :proxy => "real/index.html", :ignore => true do @num = num end - page "/fake4/#{num}.html", :proxy => "real/index.html" do + page "/fake4/#{num}.html", :proxy => "real/index.html", :ignore => true do @num = num end end @@ -46,4 +46,4 @@ end page "fake4/*" do @glob_var = "I am four glob" -end \ No newline at end of file +end