app/Http/Controllers/RoleController.php
/**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
Store a newly created resource in storage.
Store a newly created resource in storage .
public function store(StoreRequest $request, Role $role)
    {
        $role = $role -> store($request);
        return redirect()->route('backoffice.role.show', $role);
    }
public function store ( StoreRequest $ request , Role $ role ) { $ role = $ role -> store ( $ request ) ; return redirect ( ) -> route ( 'backoffice.role.show' , $ role ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .