Added link functionality

This commit is contained in:
Dan Brown
2015-07-16 19:15:22 +01:00
parent 46217a5880
commit 787ad20ce7
10 changed files with 84 additions and 19 deletions

View File

@ -35,6 +35,8 @@ Route::get('/images/all', 'ImageController@getAll');
Route::get('/images/all/{page}', 'ImageController@getAll');
Route::get('/images/{any}', 'ImageController@getImage')->where('any', '.*');
Route::get('/link/{id}', 'PageController@redirectFromLink');
Route::get('/', function () {
return view('base');
});