Proto upload page.
このコミットが含まれているのは:
コミット
b8127b9f3f
|
@ -7,17 +7,7 @@ use Illuminate\Http\Request;
|
|||
class HomeController extends Controller
|
||||
{
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
// $this->middleware('auth');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the application dashboard.
|
||||
* Show the homepage.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class UploadController extends Controller
|
||||
{
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('auth');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the upload page.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('upload');
|
||||
}
|
||||
}
|
|
@ -8,11 +8,6 @@
|
|||
<div class="panel-heading">@lang('homepage.newitems')</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<!-- @if (session('status'))
|
||||
<div class="alert alert-success">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif -->
|
||||
<new-items />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="col-md-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Dashboard</div>
|
||||
<div class="panel-heading">@lang('upload.upload')</div>
|
||||
|
||||
<div class="panel-body">
|
||||
@if (session('status'))
|
||||
|
@ -13,8 +13,7 @@
|
|||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
You are logged in!
|
||||
Uploader.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -17,12 +17,12 @@ header('Access-Control-Allow-Headers: "Origin, X-Requested-With, Content-Type, A
|
|||
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('/', 'HomeController@index')->name('home');
|
||||
Route::get('/profile/{user_id}', 'ProfileController@index')->name('home');
|
||||
Route::get('/search', 'SearchController@index')->name('home');
|
||||
Route::get('/upload', 'UploadController@index')->name('home');
|
||||
|
||||
// BACKEND
|
||||
// Category
|
||||
|
|
新しいイシューから参照