Skip to content

Commit

Permalink
Move the admin view into the main configuretion.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Nov 8, 2011
1 parent dbaf62e commit 5e7d3c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 8 additions & 0 deletions cartouche/configure.zcml
Expand Up @@ -63,6 +63,14 @@
renderer="templates/login.pt"
/>

<view
context=".models.Root"
name="admin.html"
view=".admin.admin_view"
renderer="templates/admin.pt"
permission="admin"
/>

<static
name="static"
path="static"
Expand Down
9 changes: 0 additions & 9 deletions cartouche/homepage.zcml
Expand Up @@ -30,15 +30,6 @@
renderer="templates/testing_debug.pt"
/>

<!-- Admin pending / confirmed registration info. -->
<view
context=".models.Root"
name="admin.html"
view=".admin.admin_view"
renderer="templates/admin.pt"
permission="admin"
/>

<!-- Use ZODB for storing pending registration info. -->
<adapter provides="cartouche.interfaces.IRegistrations"
name="pending"
Expand Down

0 comments on commit 5e7d3c9

Please sign in to comment.