[go: nahoru, domu]

Skip to content

Commit

Permalink
Added run alias
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedevin committed Nov 17, 2015
1 parent 41eed54 commit fd35b61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Tipsy/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public function __construct() {
$this->_id = sha1(rand(1,900000));
}

public function run($url = null) {
return $this->start($url);
}

public function start($url = null) {
$this->_url = $this->request()->path($url);
$this->_route = $this->router()->match($this->_url);
Expand Down

0 comments on commit fd35b61

Please sign in to comment.