diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php index 8110156..9ed8d3c 100644 --- a/src/Controller/MainController.php +++ b/src/Controller/MainController.php @@ -34,7 +34,7 @@ class MainController extends AbstractController { $index = new \Kvazar\Index\Manticore(); - if ($rss = ('rss' == $request->get('feed'))) + if ($rss = ('rss' == $request->get('mode'))) { $response = new Response(); $response->headers->set('Content-Type', 'text/xml'); @@ -82,7 +82,7 @@ class MainController extends AbstractController { $index = new \Kvazar\Index\Manticore(); - if ($rss = ('rss' == $request->get('feed'))) + if ($rss = ('rss' == $request->get('mode'))) { $response = new Response(); $response->headers->set('Content-Type', 'text/xml'); diff --git a/templates/default/main/index.html.twig b/templates/default/main/index.html.twig index 4db8bd7..5b246c3 100644 --- a/templates/default/main/index.html.twig +++ b/templates/default/main/index.html.twig @@ -62,7 +62,7 @@
- {{ 'RSS' | trans }} + {{ 'RSS' | trans }}
{% endblock %} \ No newline at end of file diff --git a/templates/default/main/namespace.html.twig b/templates/default/main/namespace.html.twig index 7ac6fd0..7ab4307 100644 --- a/templates/default/main/namespace.html.twig +++ b/templates/default/main/namespace.html.twig @@ -65,7 +65,7 @@
- {{ 'RSS' | trans }} + {{ 'RSS' | trans }}
{% endblock %} \ No newline at end of file