app/Http/Controllers/QueryController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Query  $query
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Query $query)
    {
        $query->delete();
        return redirect('/queries');
    }
public function destroy ( Query $ query ) { $ query -> delete ( ) ; return redirect ( '/queries' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .