Sha256: 2aa485698d600a2a6fe1c488c114c0e11593bba413df1de2d3dce09633b1d782
Contents?: true
Size: 894 Bytes
Versions: 4
Compression:
Stored size: 894 Bytes
Contents
module Kuhsaft class ImageSizeDelegator def method_missing(method, *args, &block) Kuhsaft::ImageSize.send(method, *args, &block) rescue NoMethodError super end end class Engine < ::Rails::Engine warn "[DEPRECATION] Kuhsaft has been replaced by qBrick. Please switch to qBrick as soon as possible." isolate_namespace Kuhsaft config.i18n.fallbacks = [:de] config.i18n.load_path += Dir[Kuhsaft::Engine.root.join('config', 'locales', '**', '*.{yml}').to_s] # defaults to nil config.sublime_video_token = nil # delegate image size config to ImageSize class config.image_sizes = ImageSizeDelegator.new initializer 'kuhsaft.initialize_haml_dependency_tracker' do require 'action_view/dependency_tracker' ActionView::DependencyTracker.register_tracker :haml, ActionView::DependencyTracker::ERBTracker end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kuhsaft-2.6.3 | lib/kuhsaft/engine.rb |
kuhsaft-2.6.2 | lib/kuhsaft/engine.rb |
kuhsaft-2.6.1 | lib/kuhsaft/engine.rb |
kuhsaft-2.6.0 | lib/kuhsaft/engine.rb |