symfony/symfony — Issue #2625: Alias for safe HTTP methods
Author: kriswallsmith
Created: 2011-11-11 20:18:54+00:00
State: open
Labels: Enhancement, Routing

It would be nice to be able to easily connect a route to all safe methods:

/** @Route("/", name="homepage") @Method("_safe") @Template */
public function homepageAction()
{
return array();
}