Public part: home and team part

This commit is contained in:
Némunaire 2013-10-26 08:59:59 +02:00
commit f8eff22c22
3 changed files with 13 additions and 6 deletions

View file

@ -10,7 +10,7 @@ try
return "public/team";
}
catch($e)
catch(Exception $e)
{
return "404";
}

View file

@ -3,4 +3,9 @@
<h1>
Hello World!
</h1>
{foreach from=$teams item=i}
<ul>
<li><a href="/{$i->id}-{$i->company}">{$i->company}</a></li>
</ul>
{/foreach}
{/block}