Public part: home and team part
This commit is contained in:
parent
7571c8c1b1
commit
f8eff22c22
3 changed files with 13 additions and 6 deletions
|
|
@ -10,7 +10,7 @@ try
|
|||
|
||||
return "public/team";
|
||||
}
|
||||
catch($e)
|
||||
catch(Exception $e)
|
||||
{
|
||||
return "404";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Reference in a new issue