Sha256: bc17965a12fecdbd37fb1c40d1ac06dbd7600417cc55e7e76c11dd7e17a2f06c
Contents?: true
Size: 384 Bytes
Versions: 4
Compression:
Stored size: 384 Bytes
Contents
module Apress module Api class DeprecatedVersionsController < ApiController::Base if (Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR == 2) || Rails::VERSION::MAJOR > 4 skip_before_action :authenticate, only: :show else skip_before_filter :authenticate, only: :show end def show render_error(410) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems