@extends('layouts.app-file') @section('content')
@if ($message = Session::get('success'))

{{ $message }}

@endif @if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Add Routes

@csrf
@foreach ($route as $key => $routes) @endforeach
No Route Name Method Route Action Permission Action
{{ $key+1 }} {{ $routes->name }} {{ $routes->method }} {{ $routes->path }} @foreach($permission as $permission_temp) @if($routes->permission_id==$permission_temp->id) {{$permission_temp->name}} @endif @endforeach edit delete_forever
@endsection