Skip to content

Commit

Permalink
chore: zpretty
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Apr 1, 2023
1 parent d612f81 commit 8628da4
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions plone/app/redirector/configure.zcml
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser">
xmlns:browser="http://namespaces.zope.org/browser"
>

<adapter factory=".policy.RedirectionPolicy" />
<adapter factory=".policy.RedirectionPolicy" />

<!-- Register a page the UI -->
<browser:page
name="plone_redirector_view"
for="*"
class=".browser.FourOhFourView"
permission="zope2.View"
allowed_interface=".interfaces.IFourOhFourView"
/>
<!-- Register a page the UI -->
<browser:page
name="plone_redirector_view"
for="*"
class=".browser.FourOhFourView"
allowed_interface=".interfaces.IFourOhFourView"
permission="zope2.View"
/>

<!-- Remember the movements of CMF objects -->
<subscriber
for="Products.CMFCore.interfaces.IContentish
zope.lifecycleevent.interfaces.IObjectMovedEvent"
handler=".subscribers.objectMoved"
/>
<!-- Remember the movements of CMF objects -->
<subscriber
for="Products.CMFCore.interfaces.IContentish
zope.lifecycleevent.interfaces.IObjectMovedEvent"
handler=".subscribers.objectMoved"
/>

<subscriber
for="Products.CMFCore.interfaces.IContentish
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
handler=".subscribers.objectRemoved"
/>
<subscriber
for="Products.CMFCore.interfaces.IContentish
zope.lifecycleevent.interfaces.IObjectRemovedEvent"
handler=".subscribers.objectRemoved"
/>


</configure>

0 comments on commit 8628da4

Please sign in to comment.