Skip to content
Snippets Groups Projects

Issue #3174990: Use views url directly

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -88,7 +88,7 @@ public function build() {
@@ -88,7 +88,7 @@ public function build() {
$title = $this->configuration['label'];
$title = $this->configuration['label'];
return [
return [
'#theme' => 'feed_icon',
'#theme' => 'feed_icon',
'#url' => Url::fromUri('internal:/rss.xml'),
'#url' => Url::fromRoute('view.frontpage.feed_1'),
'#title' => $title,
'#title' => $title,
];
];
}
}
Loading