fanatic/app/Http/Controllers/OwnedController.php

79 lines
1.6 KiB
PHP
Raw Permalink Normal View History

<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreOwnedRequest;
use App\Http\Requests\UpdateOwnedRequest;
use App\Models\Owned;
class OwnedController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
2022-04-27 18:57:21 -07:00
return view('admin.owned.index');
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
2022-04-27 19:33:19 -07:00
return view('admin.owned.create');
}
/**
* Store a newly created resource in storage.
*
* @return \Illuminate\Http\Response
*/
public function store(StoreOwnedRequest $request)
{
2022-04-28 12:01:17 -07:00
Owned::store($request->validated());
return redirect()->route('admin.owned.index')->with('success', 'Fanlisting added!');
}
/**
2022-04-30 13:36:32 -07:00
* Manage the specified resource.
*
* @return \Illuminate\Http\Response
*/
2022-04-30 13:36:32 -07:00
public function manage(Owned $owned)
{
}
/**
* Show the form for editing the specified resource.
*
* @return \Illuminate\Http\Response
*/
public function edit(Owned $owned)
{
}
/**
* Update the specified resource in storage.
*
* @return \Illuminate\Http\Response
*/
public function update(UpdateOwnedRequest $request, Owned $owned)
{
}
/**
* Remove the specified resource from storage.
*
* @return \Illuminate\Http\Response
*/
public function destroy(Owned $owned)
{
}
}