Upvote

Resolves all 4 parts of Issue #3 
Resolves part 2 of Issue #10 
Resolves all 3 parts of Issue #11 
You might simplify this to something like:

```ruby
def destroy
  if current_user.admin
    food_truck = FoodTruck.find(params[:id])
  else
    # this will only search for food trucks that belong to the current user
    food_truck = current_user.food_trucks.find(params[:id])
  end

  if food_truck.destroy
    redirect_to root_path
  else
    render :show
  end
end
```