Refactored LocationController#create.