Sha256: b565039730118de7415af9be55c743008715a54f16fc11ee4c6972d1061bdb9a

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

module Locomotive
  module Api
    class VersionController < ApplicationController

      skip_before_filter :require_account, :require_site, :set_current_thread_variables

      def show
        respond_to do |format|
          format.html { render text: Locomotive::VERSION }
          format.json { render json: { engine: Locomotive::VERSION } }
          format.xml  { render xml: { engine: Locomotive::VERSION } }
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locomotive_cms-2.5.7 app/controllers/locomotive/api/version_controller.rb