ソースを参照

cleanup

double-navbar
Ruben De Baets 2年前
コミット
985d62fd6f
1個のファイルの変更0行の追加4行の削除
  1. 0
    4
      public/index.php

+ 0
- 4
public/index.php ファイルの表示

@@ -46,15 +46,11 @@ $container->set(

function addNavbar($twig)
{
//$twig = $this->get('twig');

$urls = [
["link" => "https://www.google.be", "name" => "Google"],
["link" => "https://www.facebook.com", "name" => "Facebook"],
["link" => "https://www.twiter.com", "name" => "Twitter"]
];
$err = ['type' => 'notice', 'text' => "we did it!"];
$twig->addMessage($err);
$twig->addBlockVariable('navbar', ['urls' => $urls]);
}


読み込み中…
キャンセル
保存