my-idlers/app/Http/Controllers/IPsController.php

78 lines
1.4 KiB
PHP
Raw Normal View History

<?php
namespace App\Http\Controllers;
use App\Models\IPs;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class IPsController extends Controller
{
public function index()
{
$ips = IPs::all();
return view('ips.index', compact('ips'));
}
public function create()
{
return view('ips.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 int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
//
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{
//
}
}