mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Add IsGranted to StaticController
This commit is contained in:
parent
f042e7e178
commit
c540bff62b
1 changed files with 4 additions and 0 deletions
|
@ -2,12 +2,14 @@
|
|||
|
||||
namespace Wallabag\Controller;
|
||||
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
class StaticController extends AbstractController
|
||||
{
|
||||
/**
|
||||
* @Route("/howto", name="howto", methods={"GET"})
|
||||
* @IsGranted("IS_AUTHENTICATED_FULLY")
|
||||
*/
|
||||
public function howtoAction()
|
||||
{
|
||||
|
@ -23,6 +25,7 @@ class StaticController extends AbstractController
|
|||
|
||||
/**
|
||||
* @Route("/about", name="about", methods={"GET"})
|
||||
* @IsGranted("IS_AUTHENTICATED_FULLY")
|
||||
*/
|
||||
public function aboutAction()
|
||||
{
|
||||
|
@ -37,6 +40,7 @@ class StaticController extends AbstractController
|
|||
|
||||
/**
|
||||
* @Route("/quickstart", name="quickstart", methods={"GET"})
|
||||
* @IsGranted("IS_AUTHENTICATED_FULLY")
|
||||
*/
|
||||
public function quickstartAction()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue