mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Further tweaks that expose another bug - ignore with proxies leads to Not Found errors. Same issue as #302.
This commit is contained in:
parent
9555266ac1
commit
6edefe3c68
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue