first commit
This commit is contained in:
23
routes/web.php
Normal file
23
routes/web.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register web routes for your application. These
|
||||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
*/
|
||||
|
||||
Route::get('/', 'MainController@index');
|
||||
Route::get('/add', 'MainController@add');
|
||||
|
||||
Route::get('/lookup/{isbn}', 'LookupController@lookup');
|
||||
|
||||
Route::get('/authors/search', 'AuthorController@search');
|
||||
Route::resource('authors', 'AuthorController');
|
||||
|
||||
Route::resource('locations', 'LocationController');
|
||||
Route::resource('books', 'BookController');
|
Reference in New Issue
Block a user