Sha256: 05b846376253d9f28e8050947c985dc3ac06345f9c5965912a4ba425d865f991
Contents?: true
Size: 1.05 KB
Versions: 8
Compression:
Stored size: 1.05 KB
Contents
require 'importmap-rails' require 'turbo-rails' require 'stimulus-rails' require 'ancestry' require 'breadcrumbs_on_rails' require 'kaminari' require 'mobility' require 'rack-rewrite' require 'babosa' require 'attr_json' require 'view_component' require 'jsonapi/serializer' require 'browser' require 'sprockets/railtie' module Spina class Engine < ::Rails::Engine isolate_namespace Spina config.autoload_paths += %W( #{config.root}/lib ) config.to_prepare do # Require decorators from main application unless Spina.config.disable_decorator_load Dir.glob(Rails.root + "app/decorators/**/*_decorator.rb").each do |decorator| require_dependency(decorator) end end end config.to_prepare do Spina::Part.register( Spina::Parts::Line, Spina::Parts::MultiLine, Spina::Parts::Text, Spina::Parts::Image, Spina::Parts::ImageCollection, Spina::Parts::Repeater, Spina::Parts::Option, Spina::Parts::Attachment ) end end end
Version data entries
8 entries across 8 versions & 1 rubygems