app/Http/Controllers/M_template_detailsController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\M_template_details  $template_detail
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(M_template_details $m_template_detail)
    {
        $templates =M_templates::all();
        return view('m_template_details.edit',compact('m_template_detail','templates'));
    }
public function edit ( M_template_details $ m_template_detail ) { $ templates = M_templates :: all ( ) ; return view ( 'm_template_details.edit' , compact ( 'm_template_detail' , 'templates' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .