8000 Merge branch 'master' into develop · laravelio/laravel.io@fa18f18 · GitHub
[go: up one dir, main page]

Skip to content

Commit fa18f18

Browse files
committed
Merge branch 'master' into develop
2 parents e0b1a07 + dc1c488 commit fa18f18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/controllers/PastesController.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ public function postFork($hash)
6060
public function getRaw($hash)
6161
{
6262
$paste = $this->pastes->getByHash($hash);
63+
64+
if (! $paste) {
65+
return $this->redirectAction('PastesController@getCreate');
66+
}
67+
6368
return View::make('bin.raw', compact('paste'));
6469
}
6570

0 commit comments

Comments
 (0)
0