Sha256: c3f4e18ba1b4591d240c7b9ccb679eaf081cd932e30ba921d960ae46639efe39
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true class ExchangeRatesController < ApplicationController respond_to :json, only: [:index] caches_page :index def index @features = nil # @features = TranslationCms::Api::FeatureRate.all(_satellite_id: Settings.satellite_id) # expires_in 30.minutes, public: true respond_with(@features) do |format| format.json { render } format.all { redirect_to(root_path) } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/controllers/exchange_rates_controller.rb |