Corrections.
このコミットが含まれているのは:
コミット
7314083a9c
|
@ -11,8 +11,7 @@ class HomeController extends Controller
|
|||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
public function index() {
|
||||
return view('home');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,7 @@ class UploadController extends Controller
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
public function __construct() {
|
||||
$this->middleware('auth');
|
||||
}
|
||||
|
||||
|
@ -21,8 +20,7 @@ class UploadController extends Controller
|
|||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
public function index() {
|
||||
return view('upload');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,11 +18,11 @@ Auth::routes();
|
|||
|
||||
// FRONTEND
|
||||
Route::get('/', 'HomeController@index')->name('home');
|
||||
Route::get('/upload', 'UploadController@index')->name('home');
|
||||
Route::get('/search', 'SearchController@index')->name('home');
|
||||
Route::get('/category/{cat_id}', 'CategoryController@index')->name('home');
|
||||
Route::get('/entry/{file_id}', 'EntryController@index')->name('home');
|
||||
Route::get('/profile/{user_id}', 'ProfileController@index')->name('home');
|
||||
Route::get('/upload', 'UploadController@index')->name('upload');
|
||||
Route::get('/search', 'SearchController@index')->name('search');
|
||||
Route::get('/category/{cat_id}', 'CategoryController@index')->name('category');
|
||||
Route::get('/entry/{file_id}', 'FileController@entry')->name('entry');
|
||||
Route::get('/profile/{user_id}', 'ProfileController@index')->name('profile');
|
||||
|
||||
// BACKEND
|
||||
// Category
|
||||
|
|
新しいイシューから参照