Permalink
Browse files

Remove duplicate method.

This method also exists in the StringTemplateTrait.
  • Loading branch information...
1 parent 53e5005 commit c1df61673157c3f4dec400d0d2e5bee43d3f4e2c @markstory markstory committed Feb 10, 2014
Showing with 0 additions and 14 deletions.
  1. +0 −14 src/View/Helper/PaginatorHelper.php
@@ -81,20 +81,6 @@ public function __construct(View $View, $settings = []) {
}
/**
- * Get/set templates to use.
- *
- * @param string|null|array $templates null or string allow reading templates. An array
- * allows templates to be added.
- * @return void|string|array
- */
- public function templates($templates = null) {
- if ($templates === null || is_string($templates)) {
- return $this->_templater->get($templates);
- }
- return $this->_templater->add($templates);
- }
-
-/**
* Before render callback. Overridden to merge passed args with URL options.
*
* @param Cake\Event\Event $event The event instance.

0 comments on commit c1df616

Please sign in to comment.