From 87f9c5405aab2821e1cb05cc783d19ca4bf74b9e Mon Sep 17 00:00:00 2001 From: Gravitano Date: Tue, 23 Jun 2015 16:12:04 +0700 Subject: [PATCH] use pattern * --- src/Pingpong/Admin/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pingpong/Admin/helpers.php b/src/Pingpong/Admin/helpers.php index 0594fa7..d2a2fc2 100644 --- a/src/Pingpong/Admin/helpers.php +++ b/src/Pingpong/Admin/helpers.php @@ -38,7 +38,7 @@ function modal_popup($url, $title, $message) */ function isOnPages() { - return Route::is('admin.pages.index'); + return Route::is('admin.pages.*'); } }