Commit 7ca6909f authored by Taylor Otwell's avatar Taylor Otwell

Tweaking paginator comments.

parent bcd59056
...@@ -223,7 +223,6 @@ class Paginator { ...@@ -223,7 +223,6 @@ class Paginator {
{ {
return $this->range(1, $window + 2).' '.$this->ending(); return $this->range(1, $window + 2).' '.$this->ending();
} }
// Example: 1 2 ... 32 33 34 35 [36] 37 // Example: 1 2 ... 32 33 34 35 [36] 37
elseif ($this->page >= $this->last - $window) elseif ($this->page >= $this->last - $window)
{ {
...@@ -367,9 +366,6 @@ class Paginator { ...@@ -367,9 +366,6 @@ class Paginator {
*/ */
protected function link($page, $text, $class) protected function link($page, $text, $class)
{ {
// First we need to construct the link's query string. This consists
// of the page number and any developer specified items that should
// be appended to the query string.
$query = '?page='.$page.$this->appendage($this->appends); $query = '?page='.$page.$this->appendage($this->appends);
return HTML::link(URI::current().$query, $text, compact('class'), Request::secure()); return HTML::link(URI::current().$query, $text, compact('class'), Request::secure());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment