From 8101dc37b1eba893323b519b49c08952c11f93a4 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 19 Jul 2015 22:19:36 +0200 Subject: [PATCH] New route for attachment preview. --- app/Http/routes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/routes.php b/app/Http/routes.php index 5dcd842cd2..7350b6e8d2 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -203,6 +203,7 @@ Route::group( Route::get('/attachment/edit/{attachment}', ['uses' => 'AttachmentController@edit', 'as' => 'attachments.edit']); Route::get('/attachment/delete/{attachment}', ['uses' => 'AttachmentController@delete', 'as' => 'attachments.delete']); Route::get('/attachment/show/{attachment}', ['uses' => 'AttachmentController@show', 'as' => 'attachments.show']); + Route::get('/attachment/preview/{attachment}', ['uses' => 'AttachmentController@preview', 'as' => 'attachments.preview']); Route::get('/attachment/download/{attachment}', ['uses' => 'AttachmentController@download', 'as' => 'attachments.download']);