Sha256: 937c5232740eb2793885bcb4fd4bef51b13228efb0d3254f5b8e0b392463f496

Contents?: true

Size: 204 Bytes

Versions: 2

Compression:

Stored size: 204 Bytes

Contents

class G5Updatable::LocationsController < G5Updatable::BaseUpdatableController
  def show
    @location = G5Updatable::Location.find_by_urn(params[:urn])
    render json: { location: @location }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
g5_updatable-1.0.2.pre.1 app/controllers/g5_updatable/locations_controller.rb
g5_updatable-0.20.3.pre.1 app/controllers/g5_updatable/locations_controller.rb