Commit 58e7be07 authored by Emma's avatar Emma 🦉

upgrade to symfony 4.1

parent ed6d73db
Pipeline #23085812 passed with stage
in 5 minutes and 20 seconds
This diff is collapsed.
......@@ -21,7 +21,7 @@ forum_feed:
requirements: { sortBy: "%submission_sort_modes%" }
forum_feed_legacy_redirect:
controller: FrameworkBundle:Redirect:redirect
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
defaults: { route: forum_feed, ignoreAttributes: [page] }
path: /f/{forum_name}/{sortBy}/{page}.atom
requirements: { page: \d+ }
......
......@@ -41,7 +41,7 @@ featured_feed:
requirements: { sortBy: "%submission_sort_modes%" }
featured_feed_legacy_redirect:
controller: FrameworkBundle:Redirect:redirect
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
defaults: { route: featured_feed, ignoreAttributes: true }
methods: [GET]
path: /featured/{sortBy}/{_page}.atom
......
......@@ -4,7 +4,7 @@ user:
methods: [GET]
user_shortcut:
controller: FrameworkBundle:Redirect:redirect
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
defaults: { route: user }
path: /u/{username}
methods: [GET]
......
......@@ -6,7 +6,7 @@ wiki:
requirements: { path: "%wiki_page_regex%" }
wiki_shortcut:
controller: FrameworkBundle:Redirect:redirect
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
defaults: { route: wiki }
path: /w/{path}
requirements: { path: "%wiki_page_regex%" }
......
......@@ -18,7 +18,6 @@ security:
main:
anonymous: true
logout_on_user_change: true
# this is enabled for unit tests
http_basic: ~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment