Skip to content

Commit

Permalink
update way to get 'on pages page' status
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravitano committed Jun 23, 2015
1 parent 2b95514 commit 99edfbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pingpong/Admin/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function modal_popup($url, $title, $message)
*/
function isOnPages()
{
return Request::is('admin/pages') || Request::is('admin/pages/*');
return Route::is('admin.pages.index');
}
}

Expand Down

0 comments on commit 99edfbb

Please sign in to comment.