title: Laravel 5.2 How to delete parent record from belongsTo relationship?
body: <p>My Pricing model</p>
  
  <pre><code>protected $fillable = [
      'zone_id',
      'is_short_time',
      'is_service_feeder',
      'route_id',
      'value',    
  ];
  
  public function route()
  {
      return $this-&gt;belongsTo(Route::class);    
  }
  </code></pre>
  
  <p>My Route Model</p>
  
  <pre><code>protected $fillable = [
      'zone_id',
      'from_city_id',
      'to_city_id',
      'is_in_the_city',    
  ];
  
  public function pricing(){
      return $this-&gt;hasOne(Pricing::class);    
  }
  </code></pre>
  
  <p>Here is my controller</p>
  
  <pre><code>public function feeder_destroy($zoneid, $pricingfeederid)
  {
      $pricing_feeder = Pricing::find($pricingfeederid)-&gt;where('zone_id', $zoneid)-&gt;where('is_service_feeder', 1);
      $pricing_feeder-&gt;route()-&gt;delete();
      $pricing_feeder-&gt;delete();
  }
  </code></pre>
  
  <p>The error says</p>
  
  <pre><code>Call to undefined method Illuminate\Database\Query\Builder::route()
  </code></pre>
  
  <p>I want to delete pricing record and route record too.</p>
  
  <p>What wrong with my code? How should it's look like?</p>
  
  <p>Any help appreciated.</p>