Sha256: eb7da6d8d2cd7dd31fff06775550c1d3faad964f297c0edc4dc1d0dc32c9d53a

Contents?: true

Size: 265 Bytes

Versions: 3

Compression:

Stored size: 265 Bytes

Contents

require_dependency "clwy_china_city/application_controller"

module ClwyChinaCity
  class DataController < ApplicationController
    def show
      data = ClwyChinaCity.list(params[:id])
      render json: data, layout: nil
    end

    def index
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clwy_china_city-0.0.9 app/controllers/clwy_china_city/data_controller.rb
clwy_china_city-0.0.8 app/controllers/clwy_china_city/data_controller.rb
clwy_china_city-0.0.7 app/controllers/clwy_china_city/data_controller.rb