This is where `data-update_url` should go. The URL should be the update action for the floor plan, which is just the show URL. `location_floor_plan(@location, floor_plan)`  What makes it the update action instead of the show action is the HTTP verb. You can specify this is in ajax request. It should be `PATCH`. (`PUT` also works, but `PATCH` is the new/right hotness).