Sha256: 5dc3423e88aca966e2427cf3e1c0e77bed580ebf4cdb165d5194403b1a3cfb87

Contents?: true

Size: 390 Bytes

Versions: 4

Compression:

Stored size: 390 Bytes

Contents

require 'deprecation'
class Hydra::AssetsController < ApplicationController
  extend Deprecation

  self.deprecation_horizon = 'hydra-head 5.x'
    include Hydra::Controller::AssetsControllerBehavior

  def initialize *args
    Deprecation.warn(Hydra::AssetsController, "Hydra::AssetsController is deprecated and will be removed from #{self.class.deprecation_horizon}")
    super
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hydra-head-4.1.3 app/controllers/hydra/assets_controller.rb
hydra-head-4.1.2 app/controllers/hydra/assets_controller.rb
hydra-head-4.1.1 app/controllers/hydra/assets_controller.rb
hydra-head-4.1.0 app/controllers/hydra/assets_controller.rb