middleman/fixtures/test-app/config.rb
Thomas Reynolds 6a3de0768c Data API test
2011-07-06 10:29:07 -07:00

45 lines
748 B
Ruby

with_layout false do
page "/inline-css.html"
page "/inline-js.html"
page "/inline-coffeescript.html"
page "/slim.html"
page "/data.html"
end
get "/page-class.html" do
haml :"page-classes.html", :layout => false
end
get "/sub1/page-class.html" do
haml :"page-classes.html", :layout => false
end
get "/sub1/sub2/page-class.html" do
haml :"page-classes.html", :layout => false
end
%w{
/auto-css.html
/auto-css
/auto-css/
/auto-css/auto-css.html
/auto-css/sub/auto-css.html
}.each do |path|
get path do
haml :"auto-css.html", :layout => false
end
end
%w{
/auto-js.html
/auto-js
/auto-js/
/auto-js/auto-js.html
/auto-js/sub/auto-js.html
}.each do |path|
get path do
haml :"auto-js.html", :layout => false
end
end