2014-05-27 02:58:35 +02:00
|
|
|
page "/fake.html", proxy: "/real.html", layout: false
|
2011-10-15 20:21:56 +02:00
|
|
|
|
|
|
|
ignore "/should_be_ignored.html"
|
2014-05-27 02:58:35 +02:00
|
|
|
page "/should_be_ignored2.html", ignore: true
|
|
|
|
page "/target_ignore.html", proxy: "/should_be_ignored3.html", ignore: true
|
2011-10-15 20:21:56 +02:00
|
|
|
|
|
|
|
%w(one two).each do |num|
|
2014-05-27 02:58:35 +02:00
|
|
|
page "/fake/#{num}.html", proxy: "/real/index.html" do
|
2011-10-15 20:21:56 +02:00
|
|
|
@num = num
|
|
|
|
end
|
2012-08-14 00:39:06 +02:00
|
|
|
end
|