1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fixed url2 error

This commit is contained in:
Hillel Coren 2016-08-24 08:49:28 +03:00
parent d55cdd7619
commit 1b19d09f79

View File

@ -33,7 +33,8 @@ class AppServiceProvider extends ServiceProvider
});
Form::macro('nav_link', function($url, $text) {
$class = ( Request::is($url) || Request::is($url.'/*') || Request::is($url2.'/*') ) ? ' class="active"' : '';
//$class = ( Request::is($url) || Request::is($url.'/*') || Request::is($url2.'/*') ) ? ' class="active"' : '';
$class = ( Request::is($url) || Request::is($url.'/*') ) ? ' class="active"' : '';
$title = trans("texts.$text") . Utils::getProLabel($text);
return '<li'.$class.'><a href="'.URL::to($url).'">'.$title.'</a></li>';