@saulcoria here you can use just one ```verify_permission``` method given that the only difference is the way to get the location.

```
def verify_permission
  @location = Location.find(params[:sport_center_id] || params[:id])
  ... 
end
```