wallabag/app/config/routing.yml

74 lines
2.0 KiB
YAML
Raw Normal View History

2015-01-22 08:30:07 +01:00
app:
2024-02-19 01:03:08 +01:00
resource: ../../src/Controller/
type: annotation
2015-01-23 14:58:17 +01:00
doc-api:
resource: "@NelmioApiDocBundle/config/routing/swaggerui.xml"
prefix: /api/doc
homepage:
path: "/{page}"
2016-01-21 08:53:09 +01:00
defaults:
2024-02-19 01:30:12 +01:00
_controller: 'Wallabag\Controller\EntryController::showUnreadAction'
2016-01-21 08:53:09 +01:00
page : 1
requirements:
page: \d+
fos_user:
resource: "@FOSUserBundle/Resources/config/routing/all.xml"
fos_oauth_server_token:
resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"
2016-01-21 08:53:09 +01:00
craue_config_settings_modify:
path: /settings
defaults:
_controller: 'Craue\ConfigBundle\Controller\SettingsController::modifyAction'
2016-10-24 11:20:11 +02:00
fos_js_routing:
resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
2fa_login:
path: /2fa
defaults:
_controller: "scheb_two_factor.form_controller:form"
2fa_login_check:
path: /2fa_check
2019-04-26 13:40:58 +02:00
# redirect RSS feed to Atom
rss_to_atom_unread:
path: /{username}/{token}/unread.xml
defaults:
_controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction'
2019-04-26 13:40:58 +02:00
route: unread_feed
permanent: true
rss_to_atom_archive:
path: /{username}/{token}/archive.xml
defaults:
_controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction'
2019-04-26 13:40:58 +02:00
route: archive_feed
permanent: true
rss_to_atom_starred:
path: /{username}/{token}/starred.xml
defaults:
_controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction'
2019-04-26 13:40:58 +02:00
route: starred_feed
permanent: true
rss_to_atom_all:
path: /{username}/{token}/all.xml
defaults:
_controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction'
2019-04-26 13:40:58 +02:00
route: all_feed
permanent: true
rss_to_atom_tags:
path: /{username}/{token}/tags/{slug}.xml
defaults:
_controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction'
2019-04-26 13:40:58 +02:00
route: tag_feed
permanent: true