1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

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
This commit is contained in:
Jeremy Benoist 2019-01-19 22:08:29 +01:00
parent 9a57653aec
commit 50f35f0db2
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
22 changed files with 57 additions and 28 deletions

View file

@ -253,7 +253,7 @@ class EntryController extends Controller
*
* @param string $type
*
* @Route("/{type}/random", name="random_entry", requirements={"_locale": "unread|starred|archive|untagged|all"})
* @Route("/{type}/random", name="random_entry", requirements={"type": "unread|starred|archive|untagged|all"})
*
* @return \Symfony\Component\HttpFoundation\RedirectResponse
*/