diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index e3b4b1eb..c94b47f0 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -12,6 +12,7 @@ use Wallabag\CoreBundle\Entity\Entry; | |||
12 | use Wallabag\CoreBundle\Form\Type\EntryFilterType; | 12 | use Wallabag\CoreBundle\Form\Type\EntryFilterType; |
13 | use Wallabag\CoreBundle\Form\Type\EditEntryType; | 13 | use Wallabag\CoreBundle\Form\Type\EditEntryType; |
14 | use Wallabag\CoreBundle\Form\Type\NewEntryType; | 14 | use Wallabag\CoreBundle\Form\Type\NewEntryType; |
15 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache; | ||
15 | 16 | ||
16 | class EntryController extends Controller | 17 | class EntryController extends Controller |
17 | { | 18 | { |
@@ -459,6 +460,7 @@ class EntryController extends Controller | |||
459 | * @param Entry $entry | 460 | * @param Entry $entry |
460 | * | 461 | * |
461 | * @Route("/share/{uuid}", requirements={"uuid" = ".+"}, name="share") | 462 | * @Route("/share/{uuid}", requirements={"uuid" = ".+"}, name="share") |
463 | * @Cache(maxage="25200", public=true) | ||
462 | * | 464 | * |
463 | * @return \Symfony\Component\HttpFoundation\Response | 465 | * @return \Symfony\Component\HttpFoundation\Response |
464 | */ | 466 | */ |