Sha256: 82c5f284823f5e25528dfe84458d526dd5719ec474ce3f5fbd690ca60e1cb0cf
Contents?: true
Size: 368 Bytes
Versions: 18
Compression:
Stored size: 368 Bytes
Contents
# frozen_string_literal: true class WmsController < ApplicationController def handle response = Geoblacklight::WmsLayer.new(wms_params).feature_info respond_to do |format| format.json { render json: response } end end private def wms_params params.permit('URL', 'LAYERS', 'BBOX', 'WIDTH', 'HEIGHT', 'QUERY_LAYERS', 'X', 'Y') end end
Version data entries
18 entries across 18 versions & 1 rubygems