Permalink
Browse files

Fixing formatting of code.

  • Loading branch information...
1 parent b90a64c commit 3a0367237993ec2c8d431ae1c6cf4c604054847d @markstory markstory committed Feb 10, 2010
Showing with 3 additions and 4 deletions.
  1. +2 −3 cake/libs/configure.php
  2. +1 −1 cake/libs/view/helpers/paginator.php
View
@@ -1237,9 +1237,8 @@ function __paths($type) {
if ($type === 'core') {
return App::core('libs');
}
-
- if (isset($this->{$type.'s'})) {
- return $this->{$type.'s'};
+ if (isset($this->{$type . 's'})) {
+ return $this->{$type . 's'};
}
return $paths;
}
@@ -360,7 +360,7 @@ function link($title, $url = array(), $options = array()) {
$obj = isset($options['update']) ? $this->_ajaxHelperClass : 'Html';
$url = array_merge(array('page' => $this->current($model)), $url);
- $url = array_merge(Set::filter($url, true), array_intersect_key($url, array('plugin'=>true)));
+ $url = array_merge(Set::filter($url, true), array_intersect_key($url, array('plugin' => true)));
return $this->{$obj}->link($title, $url, $options);
}

0 comments on commit 3a03672

Please sign in to comment.