Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed options retrieve

  • Loading branch information...
commit 2236c1eb9019b0fa808b99629fb4544d5b4cd517 1 parent 92cfde4
@wilkerlucio authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 limber-pack/lib/limber_pack/routing/route.php
View
6 limber-pack/lib/limber_pack/routing/route.php
@@ -42,8 +42,8 @@ public function __construct($route, $options = array())
$this->assigned = false;
$this->_params = array();
- $this->options["defaults"]["controller"] = $options["controller"];
- $this->options["defaults"]["action"] = $options["action"];
+ $this->options["defaults"]["controller"] = $this->options["controller"];
+ $this->options["defaults"]["action"] = $this->options["action"];
$this->_params = array_merge($this->_params, $this->options["defaults"]);
@@ -185,4 +185,4 @@ public function generate_for($params)
}
class RouteNotAssignedException extends \Exception {}
-class InvalidRouteException extends \Exception {}
+class InvalidRouteException extends \Exception {}
Please sign in to comment.
Something went wrong with that request. Please try again.