Class: G5Updatable::LocationsController

Inherits:
BaseUpdatableController show all
Defined in:
app/controllers/g5_updatable/locations_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



2
3
4
5
# File 'app/controllers/g5_updatable/locations_controller.rb', line 2

def show
  @location = G5Updatable::Location.find_by_urn(params[:urn])
  render json: @location
end