first commit
This commit is contained in:
commit
57f2db0d47
1414 files changed
+381371
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
function active_class($path, $active = 'active') {
|
||||
return call_user_func_array('Request::is', (array)$path) ? $active : '';
|
||||
}
|
||||
|
||||
function is_active_route($path) {
|
||||
return call_user_func_array('Request::is', (array)$path) ? 'true' : 'false';
|
||||
}
|
||||
|
||||
function show_class($path) {
|
||||
return call_user_func_array('Request::is', (array)$path) ? 'show' : '';
|
||||
}
|
||||
Reference in new issue
Block a user