app/Http/Controllers/M_template_detailsController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\M_template_details  $template_detail
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(M_template_details $m_template_detail)
    {
        $m_template_detail->delete();
        return redirect()->route('m_template_details.index')
                        ->with('success','description deleted successfully');
    }
public function destroy ( M_template_details $ m_template_detail ) { $ m_template_detail -> delete ( ) ; return redirect ( ) -> route ( 'm_template_details.index' ) -> with ( 'success' , 'description deleted successfully' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .