mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
92 lines
1.7 KiB
PHP
92 lines
1.7 KiB
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Job;
|
|
use Illuminate\Http\Request;
|
|
|
|
class JobController extends Controller
|
|
{
|
|
/**
|
|
* Display a listing of the resource.
|
|
*
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function index()
|
|
{
|
|
$jobs = Job::all();
|
|
|
|
$jobs_sorted = $jobs->sortBy('name');
|
|
|
|
$jobs = $jobs_sorted->values();
|
|
|
|
return view('admin.job.index', ['jobs' => $jobs]);
|
|
}
|
|
|
|
/**
|
|
* Show the form for creating a new resource.
|
|
*
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function create()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Store a newly created resource in storage.
|
|
*
|
|
* @param \Illuminate\Http\Request $request
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function store(Request $request)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Display the specified resource.
|
|
*
|
|
* @param \App\Job $job
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function show(Job $job)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Show the form for editing the specified resource.
|
|
*
|
|
* @param \App\Job $job
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function edit(Job $job)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Update the specified resource in storage.
|
|
*
|
|
* @param \Illuminate\Http\Request $request
|
|
* @param \App\Job $job
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function update(Request $request, Job $job)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Remove the specified resource from storage.
|
|
*
|
|
* @param \App\Job $job
|
|
* @return \Illuminate\Http\Response
|
|
*/
|
|
public function destroy(Job $job)
|
|
{
|
|
//
|
|
}
|
|
}
|