test wildcard pages
This commit is contained in:
parent
9b07bf24dd
commit
745ce14624
13 changed files with 36 additions and 0 deletions
2
fixtures/wildcard-directory-index-app/config.rb
Normal file
2
fixtures/wildcard-directory-index-app/config.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
activate :directory_indexes
|
||||
page "/admin/*", :layout => :admin
|
|
@ -0,0 +1 @@
|
|||
Index
|
|
@ -0,0 +1 @@
|
|||
Page
|
|
@ -0,0 +1 @@
|
|||
Index
|
|
@ -0,0 +1,2 @@
|
|||
Admin Layout
|
||||
<%= yield %>
|
|
@ -0,0 +1,2 @@
|
|||
Normal Layout
|
||||
<%= yield %>
|
Loading…
Add table
Add a link
Reference in a new issue