Sha256: b73836fa70885725aff3fbefe564827b86bf76334f6794ba627a5b6c06100f4b
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true module Taksi class DataController < ::Taksi::ApplicationController def show screen = ::Taksi::Screen.find(params[:id].to_sym, request.env['X_Taksi_VERSION']).new render json: screen.data.as_json rescue Taksi::Registry::ScreenNotFoundError head(404) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
taksi-rails-0.1.0 | app/controllers/taksi/data_controller.rb |