app/controllers/apress/api/deprecated_versions_controller.rb in apress-api-1.24.0 vs app/controllers/apress/api/deprecated_versions_controller.rb in apress-api-1.24.2

- old
+ new

@@ -1,4 +1,5 @@ +# frozen_string_literal: true 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