Creating Delete Query in Laravel : I'm kind of new using laravel. 
I created delete function but it doesnt work as I wanted to. Here are the codes in view, controller as well as routes. Could you guys tell me what was wrong in the code? Thanks

View:

    <div class="btn-group">
    <a class="btn btn-info" href="{{  URL::to('/delete_data_tanah/{id}') }}"><i 
    class="fa fa-close" onclick="return confirm('Are you sure you want to delete 
    this data?');">----</i></a>
    </div>

Controller:

    public function delete($id){
            \App\Tbl_object::where('id_objects', '=', $id)->delete();
    
            return redirect('/list_tanah')->with('Success', 'Data telah dihapus');
        }


Routes:

    Route::post('/delete_data_tanah/{id}', 'formulir_tanah@delete');

