enhanced ui and layout
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Return nav-here if current path begins with this path.
|
||||
*
|
||||
* @param string $path
|
||||
* @return string
|
||||
*/
|
||||
function setActive($path)
|
||||
{
|
||||
return Request::is($path . '*') ? ' active' : '';
|
||||
}
|
||||
Reference in New Issue
Block a user