Sha256: 3db050e1afb4f779383c1a003c9ed8e0af4162c657c14fde1bcffdbdce05ef5c

Contents?: true

Size: 255 Bytes

Versions: 3

Compression:

Stored size: 255 Bytes

Contents

require_dependency "china_citys/application_controller"

module ChinaCitys
  class DataController < ApplicationController
    def show
      data = ChinaCitys.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
china_citys-0.0.6 app/controllers/china_citys/data_controller.rb
china_citys-0.0.5 app/controllers/china_citys/data_controller.rb
china_citys-0.0.4 app/controllers/china_citys/data_controller.rb