PHP Classes

File: vendor/sensio/generator-bundle/Resources/skeleton/crud/config/routing.xml.twig

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/sensio/generator-bundle/Resources/skeleton/crud/config/routing.xml.twig   Download  
File: vendor/sensio/generator-bundle/Resources/skeleton/crud/config/routing.xml.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 7 years ago
Size: 1,269 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8" ?> <routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> {% block body %} <route id="{{ route_name_prefix }}_index" path="/" methods="GET"> <default key="_controller">{{ bundle }}:{{ entity }}:index</default> </route> <route id="{{ route_name_prefix }}_show" path="/{id}/show" methods="GET"> <default key="_controller">{{ bundle }}:{{ entity }}:show</default> </route> {% if 'new' in actions %} <route id="{{ route_name_prefix }}_new" path="/new" methods="GET|POST"> <default key="_controller">{{ bundle }}:{{ entity }}:new</default> </route> {% endif %} {% if 'edit' in actions %} <route id="{{ route_name_prefix }}_edit" path="/{id}/edit" methods="GET|POST"> <default key="_controller">{{ bundle }}:{{ entity }}:edit</default> </route> {% endif %} {% if 'delete' in actions %} <route id="{{ route_name_prefix }}_delete" path="/{id}/delete" methods="DELETE"> <default key="_controller">{{ bundle }}:{{ entity }}:delete</default> </route> {% endif %} {% endblock body %} </routes>