Permalink
Browse files

Fixing typo in route.

  • Loading branch information...
1 parent c5fba44 commit 36d97a1537a66d0bf4299c9dfd0b15be6a6e3664 @davidpersson davidpersson committed Feb 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 controllers/PastesController.php
@@ -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)) {

0 comments on commit 36d97a1

Please sign in to comment.