Files
osTicket/api/urls.conf.php
2012-03-19 17:49:16 -05:00

12 lines
406 B
PHP

<?php
# What about patterns("api/ticket.php:TicketController", ...) since if the
# class is given as the prefix, it isn't defined in more than one file. This
# would allow for speficying imports only if an item is defined in a
# different class (with the array("class", "method") syntax)
return patterns("api.ticket.php:TicketController",
url_post("^/tickets\.(?P<format>xml|json)$", "create")
);
?>