public function create()
    {
        $permission           = new Permission;
        $permission->resource = 'System';
        $roles                = Role::all();

        return view('administrator.permissions.create', compact('permission', 'roles'));
    }
public function create()
    {
        $permission           = new Permission;
        $permission->resource = 'System';
        $roles                = Role::all();

        return view('administrator.permissions.create', compact('permission', 'roles'));
    }
public function create ( ) { $ permission = new Permission ; $ permission -> resource = 'System' ; $ roles = Role :: all ( ) ; return view ( 'administrator.permissions.create' , compact ( 'permission' , 'roles' ) ) ; }
Show permission form.

@return \Illuminate\View\View
Show permission form .