Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //---- Inserido no arquivo routes.php ----\\
- //-----------------------------------------------------------------------------------\\
- //-------------------- Acrescentar parametro get na paginação -----------------------\\
- //-----------------------------------------------------------------------------------\\
- View::composer(Paginator::getViewName(), function($view) {
- $query = array_except( Input::query(), Paginator::getPageName() );
- $view->paginator->appends($query);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement