All pastes #964923 Raw Edit

Untitled

public xml v1 · immutable
#964923 ·published 2008-03-31 17:35 UTC
rendered paste body
<?xml version="1.0" encoding="UTF-8"?><configurations xmlns:xi="http://www.w3.org/2001/XInclude">  	<sandbox>  		  <crud>        	     <routes>        	       <route name=".add" pattern="^/add$" action="Add" />        	       <route name=".edit" pattern="^/edit/(id:\d+)$" action="Edit" />        	       <route name=".manage" pattern="^/manage$" action="Manage" />        	       <route name=".delete" pattern="^/delete/(id:\d+)$" action="Delete" />        	     </routes>			  		  </crud>  	</sandbox>		<configuration context="web">			<routes>		        <route name="login" pattern="^/login.html$" module="%actions.login_module%" action="%actions.login_action%" />      <route name="logout" pattern="^/logout.html$" module="%actions.login_module%" action="Logout" />      			       <route name="admin" pattern="^/administration" module="Administration" action="Index" >			       	 <routes>			       	   <route name=".dashboard" pattern="^/$" module="Administration" action="Index" />      	   <route name=".admins" pattern="^/admins">	      	      <xi:include xpointer="xpointer(/configurations/sandbox/crud/routes)" />      	   </route>      	   <route name=".domains" pattern="^/domains" module="Domains">	      	      <xi:include xpointer="xpointer(/configurations/sandbox/crud/routes)" />      	   </route>      	   <route name=".products" pattern="^/products" module="Products">	      	      <xi:include xpointer="xpointer(/configurations/sandbox/crud/routes)" />      	   </route>      	   <route name=".promotions" pattern="^/promotions" module="Promotions">	      	      <xi:include xpointer="xpointer(/configurations/sandbox/crud/routes)" />      	   </route>      	   <route name=".product_managers" pattern="^/product_managers" module="ProductManagers">		      	      <xi:include xpointer="xpointer(/configurations/sandbox/crud/routes)" />      	   </route>      	   <route name=".companies" pattern="^/companies" module="Companies">	      	      <xi:include xpointer="xpointer(/configurations/sandbox/crud/routes)" />      	   </route>      	   <route name=".categories" pattern="^/categories" module="Categories">	      	      <xi:include xpointer="xpointer(/configurations/sandbox/crud/routes)" />      	   </route>      	   <route name=".pages" pattern="^/pages$" module="Pages" action="Manage" />	      	   <route name=".pages.edit" pattern="^/pages/edit:(name:[a-z0-9\/\-\.]+)$" module="Pages" action="Manage" callback="UrlencodeRoutingCallback" />	         </routes>       </route>	</configuration>	</configurations>