aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/EntryController.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-01-19 22:08:29 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-01-19 22:24:10 +0100
commit50f35f0db2be9586205e793f315608eec59c9666 (patch)
tree0f88f3ab6ad32db026494a7104341c45ee997515 /src/Wallabag/CoreBundle/Controller/EntryController.php
parent9a57653aec85b0f5220436d5cb76545e66c24a11 (diff)
downloadwallabag-50f35f0db2be9586205e793f315608eec59c9666.tar.gz
wallabag-50f35f0db2be9586205e793f315608eec59c9666.tar.zst
wallabag-50f35f0db2be9586205e793f315608eec59c9666.zip
Move icon into the top menu bar
Change the way to select a random entry: - select all ids from the given user (with filters) - choose randomly one in php - find that entry
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/EntryController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php
index dfb5eb54..5c8ecb40 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -253,7 +253,7 @@ class EntryController extends Controller
253 * 253 *
254 * @param string $type 254 * @param string $type
255 * 255 *
256 * @Route("/{type}/random", name="random_entry", requirements={"_locale": "unread|starred|archive|untagged|all"}) 256 * @Route("/{type}/random", name="random_entry", requirements={"type": "unread|starred|archive|untagged|all"})
257 * 257 *
258 * @return \Symfony\Component\HttpFoundation\RedirectResponse 258 * @return \Symfony\Component\HttpFoundation\RedirectResponse
259 */ 259 */