app/Http/Controllers/TestimonialController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Testimonial  $testimonial
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Testimonial $testimonial)
    {
        $this->authorize('edit');
        return view('backoffice.testimonials.edit', compact('testimonial'));
    }
public function edit ( Testimonial $ testimonial ) { $ this -> authorize ( 'edit' ) ; return view ( 'backoffice.testimonials.edit' , compact ( 'testimonial' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .