Sha256: d8820d79c540098e7679e21754a223b202442a012a4a28be3b5fc33924b76a93
Contents?: true
Size: 608 Bytes
Versions: 1
Compression:
Stored size: 608 Bytes
Contents
# frozen_string_literal: true require 'i18n' module Scribo class Engine < ::Rails::Engine isolate_namespace Scribo initializer 'scribo.config' do |_app| path = File.expand_path(File.join(File.dirname(__FILE__), '.', 'liquid', '{tags,filters}', '*.rb')) Dir.glob(path).each do |c| require_dependency(c) end end initializer :append_migrations do |app| unless app.root.to_s.match? root.to_s config.paths['db/migrate'].expanded.each do |expanded_path| app.config.paths['db/migrate'] << expanded_path end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scribo-1.0.38 | lib/scribo/engine.rb |