Sha256: 85367deee73a0702542faf0ec46852de1be61b20144302a784db3a8342294818
Contents?: true
Size: 490 Bytes
Versions: 2
Compression:
Stored size: 490 Bytes
Contents
module SharingTags class Engine < ::Rails::Engine isolate_namespace SharingTags if Rails.env.development? config.to_prepare do require_dependency Rails.root.join('config', 'initializers', 'sharing_tags.rb').to_s end config.after_initialize do # optional, without it will call `to_prepend` only when a file changes, # not on every request Rails.application.config.reload_classes_only_on_change = false end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sharing_tags-0.0.11 | lib/sharing_tags/engine.rb |
sharing_tags-0.0.10 | lib/sharing_tags/engine.rb |