mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class UserRole extends Model
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ switch (request()->input('action') ?? 'view') {
|
||||
case 'submit':
|
||||
if (request()->has('id')) {
|
||||
$role = UserRole::addRole(request()->all());
|
||||
/*header('Location:'.WWW_TOP.'/role-list.php');*/
|
||||
/*header('Location:'.WWW_TOP.'/role-list.php');*/
|
||||
} else {
|
||||
$role = UserRole::updateRole(request()->all());
|
||||
//dd($role);
|
||||
|
||||
Reference in New Issue
Block a user