--- a/src/ztfy/myams/configure.zcml Wed May 07 17:59:27 2014 +0200
+++ b/src/ztfy/myams/configure.zcml Wed May 07 17:59:51 2014 +0200
@@ -67,6 +67,7 @@
template="templates/modal-layout.pt"
layer=".layer.MyAMSLayer" />
+
<z3c:pagelet
name="index.html"
for="*"
@@ -80,6 +81,16 @@
layer=".layer.MyAMSLayer" />
+ <!-- Re-define default files view for MyAMS layer -->
+ <browser:page
+ for="zope.app.file.interfaces.IFile"
+ name="index.html"
+ class="ztfy.file.browser.FileView"
+ attribute="show"
+ layer=".layer.MyAMSLayer"
+ permission="zope.View" />
+
+
<!-- Exceptions views -->
<browser:page
name="error"