Skip to content

Commit

Permalink
remove incorrect template annotation, add method annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
alcohol committed Aug 14, 2015
1 parent 554e91a commit b29f09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Packagist/WebBundle/Controller/ApiController.php
Expand Up @@ -36,8 +36,8 @@
class ApiController extends Controller
{
/**
* @Template()
* @Route("/packages.json", name="packages", defaults={"_format" = "json"})
* @Method({"GET"})
*/
public function packagesAction(Request $req)
{
Expand Down

0 comments on commit b29f09a

Please sign in to comment.