Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing typo in route.

  • Loading branch information...
commit 36d97a1537a66d0bf4299c9dfd0b15be6a6e3664 1 parent c5fba44
@davidpersson davidpersson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  controllers/PastesController.php
View
2  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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.