Skip to content

Commit

Permalink
add helper for bootstrap 3
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 26, 2018
1 parent 796ed1e commit c919402
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Illuminate/Pagination/AbstractPaginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,17 @@ public static function defaultSimpleView($view)
static::$defaultSimpleView = $view;
}

/**
* Indicate that Bootstrap 3 styling should be used for generated links.
*
* @return void
*/
public static function useBootstrapThree()
{
static::defaultView('pagination::default');
static::defaultSimpleView('pagination::simple-default');
}

/**
* Get an iterator for the items.
*
Expand Down

0 comments on commit c919402

Please sign in to comment.