このコミットが含まれているのは:
テクニカル諏訪子 2018-01-24 16:29:42 +01:00
コミット 7314083a9c
3個のファイルの変更8行の追加11行の削除

ファイルの表示

@ -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