Show netmails to admins, record netmail path in the DB
This commit is contained in:
19
app/Http/Controllers/NetmailController.php
Normal file
19
app/Http/Controllers/NetmailController.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\Netmail;
|
||||
|
||||
class NetmailController extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('auth');
|
||||
}
|
||||
|
||||
public function view(Netmail $o)
|
||||
{
|
||||
return view('netmail.view')
|
||||
->with('o',$o);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user