You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
555 B
PHP
40 lines
555 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
class PostController extends Controller
|
|
{
|
|
public function index()
|
|
{
|
|
return view('admin.posts.index');
|
|
}
|
|
|
|
public function create()
|
|
{
|
|
return view('admin.posts.create');
|
|
}
|
|
|
|
public function store(Request $request)
|
|
{
|
|
dd($request);
|
|
}
|
|
|
|
public function show($id)
|
|
{
|
|
}
|
|
|
|
public function edit($id)
|
|
{
|
|
}
|
|
|
|
public function update(Request $request, $id)
|
|
{
|
|
}
|
|
|
|
public function destroy($id)
|
|
{
|
|
}
|
|
}
|