Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Resources/config/routing.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
hackzilla_ticket:
resource: "@HackzillaTicketBundle/Resources/config/routing/ticket.yml"
prefix: /ticket/
prefix: /ticket/
28 changes: 14 additions & 14 deletions Resources/config/routing/ticket.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
hackzilla_ticket:
path: /
defaults: { _controller: "HackzillaTicketBundle:Ticket:index" }
path: /
controller: 'Hackzilla\Bundle\TicketBundle\Controller\TicketController::indexAction'

hackzilla_ticket_show:
path: /{ticketId}/show
defaults: { _controller: "HackzillaTicketBundle:Ticket:show" }
path: /{ticketId}/show
controller: 'Hackzilla\Bundle\TicketBundle\Controller\TicketController::showAction'

hackzilla_ticket_new:
path: /new
defaults: { _controller: "HackzillaTicketBundle:Ticket:new" }
path: /new
controller: 'Hackzilla\Bundle\TicketBundle\Controller\TicketController::newAction'

hackzilla_ticket_create:
path: /create
defaults: { _controller: "HackzillaTicketBundle:Ticket:create" }
path: /create
controller: 'Hackzilla\Bundle\TicketBundle\Controller\TicketController::createAction'
methods: post

hackzilla_ticket_delete:
path: /{ticketId}/delete
defaults: { _controller: "HackzillaTicketBundle:Ticket:delete" }
path: /{ticketId}/delete
controller: 'Hackzilla\Bundle\TicketBundle\Controller\TicketController::deleteAction'
methods: post|delete

hackzilla_ticket_reply:
path: /{ticketId}/reply
defaults: { _controller: "HackzillaTicketBundle:Ticket:reply" }
path: /{ticketId}/reply
controller: 'Hackzilla\Bundle\TicketBundle\Controller\TicketController::replyAction'

hackzilla_ticket_attachment:
path: /attachment/{ticketMessageId}/download
defaults: { _controller: "HackzillaTicketBundle:TicketAttachment:download" }
path: /attachment/{ticketMessageId}/download
controller: 'Hackzilla\Bundle\TicketBundle\Controller\TicketAttachmentController::downloadAction'