test wildcard pages

This commit is contained in:
Thomas Reynolds 2011-12-07 11:26:49 -08:00
parent 9b07bf24dd
commit 745ce14624
13 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,2 @@
activate :directory_indexes
page "/admin/*", :layout => :admin

View file

@ -0,0 +1 @@
Index

View file

@ -0,0 +1 @@
Page

View file

@ -0,0 +1 @@
Index

View file

@ -0,0 +1,2 @@
Admin Layout
<%= yield %>

View file

@ -0,0 +1,2 @@
Normal Layout
<%= yield %>