Sha256: a39f234cdff580909914ab9ed1968ecc15fe4dd0d52640c7ffe483f635ae2c41
Contents?: true
Size: 617 Bytes
Versions: 9
Compression:
Stored size: 617 Bytes
Contents
# -*- encoding : utf-8 -*- require 'phraseapp-in-context-editor-ruby' require 'i18n' if defined? Rails module PhraseApp module InContextEditor class Engine < Rails::Engine initializer 'phraseapp-in-context-editor-ruby', after: :disable_dependency_loading do |app| if PhraseApp::InContextEditor.enabled? require 'phraseapp-in-context-editor-ruby/adapters/i18n' require 'phraseapp-in-context-editor-ruby/adapters/fast_gettext' end ActionView::Base.send :include, PhraseApp::InContextEditor::ViewHelpers end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems