File tree Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <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" >
3+ <import resource =" ./routing/hackzilla_ticket.xml" type =" xml" prefix =" /ticket" />
4+ </routes >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <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" >
3+ <route id =" hackzilla_ticket" path =" /" controller =" Hackzilla\Bundle\TicketBundle\Controller\TicketController::indexAction" />
4+ <route id =" hackzilla_ticket_show" path =" /{ticketId}/show" controller =" Hackzilla\Bundle\TicketBundle\Controller\TicketController::showAction" />
5+ <route id =" hackzilla_ticket_new" path =" /new" controller =" Hackzilla\Bundle\TicketBundle\Controller\TicketController::newAction" />
6+ <route id =" hackzilla_ticket_create" path =" /create" controller =" Hackzilla\Bundle\TicketBundle\Controller\TicketController::createAction" methods =" POST" />
7+ <route id =" hackzilla_ticket_delete" path =" /{ticketId}/delete" controller =" Hackzilla\Bundle\TicketBundle\Controller\TicketController::deleteAction" methods =" DELETE|POST" />
8+ <route id =" hackzilla_ticket_reply" path =" /{ticketId}/reply" controller =" Hackzilla\Bundle\TicketBundle\Controller\TicketController::replyAction" />
9+ <route id =" hackzilla_ticket_attachment" path =" /attachment/{ticketMessageId}/download" controller =" Hackzilla\Bundle\TicketBundle\Controller\TicketAttachmentController::downloadAction" />
10+ </routes >
Original file line number Diff line number Diff line change 1+ # NEXT_MAJOR: remove this file and add upgrade note.
12hackzilla_ticket :
23 path : /
34 controller : ' Hackzilla\Bundle\TicketBundle\Controller\TicketController::indexAction'
Original file line number Diff line number Diff line change @@ -69,15 +69,15 @@ public function registerBundles()
6969
7070` ` ` yml
7171hackzilla_ticket:
72- resource: "@HackzillaTicketBundle/Resources/config/routing.yml "
72+ resource: "@HackzillaTicketBundle/Resources/config/routing.xml "
7373 prefix: /
7474` ` `
7575
7676or
7777
7878` ` ` yml
7979hackzilla_ticket:
80- resource: "@HackzillaTicketBundle/Resources/config/routing/ticket.yml "
80+ resource: "@HackzillaTicketBundle/Resources/config/routing/hackzilla_ticket.xml "
8181 prefix: /ticket
8282` ` `
8383
You can’t perform that action at this time.
0 commit comments