Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Commit

Permalink
add routing for plugin categories
Browse files Browse the repository at this point in the history
  • Loading branch information
xphere authored and mmoreram committed Jun 13, 2015
1 parent db5f54d commit 38c760e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Elcodi/Admin/PluginBundle/Controller/PluginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,28 @@ class PluginController extends AbstractAdminController
* name = "admin_plugin_list",
* methods = {"GET"}
* )
*
* @Route(
* path = "s/payment",
* name = "admin_plugin_payment_list",
* defaults = { "category": "payment" },
* methods = {"GET"}
* )
*
* @Route(
* path = "s/shipping",
* name = "admin_plugin_shipping_list",
* defaults = { "category": "shipping" },
* methods = {"GET"}
* )
*
* @Route(
* path = "s/social",
* name = "admin_plugin_social_list",
* defaults = { "category": "social" },
* methods = {"GET"}
* )
*
* @Template
*/
public function listAction($category = null)
Expand Down

0 comments on commit 38c760e

Please sign in to comment.