Sha256: 6e2b2708993c6b96b8944ec35a589e1e0f9110e4f5f579e5e5df82cf36d36564
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 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', before: :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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phraseapp-in-context-editor-ruby-1.0.6 | lib/phraseapp-in-context-editor-ruby/engine.rb |