Skip to content

Commit

Permalink
Fixing typo in route.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuswilms committed Feb 8, 2011
1 parent c5fba44 commit 36d97a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/PastesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function add($author = null, $language = 'php') {
*/
public function edit($id = null) {
if (!$paste = Paste::find($id)) {
return $this->redirect('Pastes:add');
return $this->redirect('Pastes::add');
}

if (!empty($this->request->data)) {
Expand Down

0 comments on commit 36d97a1

Please sign in to comment.