Sha256: f31bc10db65bbf7ae2438717d404663c51e58d62d8faa571501a50f2e76bc9bb
Contents?: true
Size: 863 Bytes
Versions: 11
Compression:
Stored size: 863 Bytes
Contents
I18n.load_path = [File.join(File.dirname(__FILE__), "../config/locales/papermill.yml")] + I18n.load_path require 'extensions' Object.send :include, PapermillObjectExtensions Hash.send :include, PapermillHashExtensions File.send :include, PapermillFileExtensions String.send :include, StringToUrlNotFound unless String.instance_methods.include? "to_url" Formtastic::SemanticFormBuilder.send(:include, PapermillFormtasticExtensions) rescue NameError begin require File.join(RAILS_ROOT, "config/initializers/papermill.rb") rescue LoadError require 'papermill/papermill_options.rb' end require 'paperclip' unless defined?(Paperclip) require 'papermill/papermill' require 'papermill/papermill_asset' require 'papermill/form_builder' require 'papermill/papermill_helper' ActionView::Base.send :include, PapermillHelper ActiveRecord::Base.send :include, Papermill
Version data entries
11 entries across 11 versions & 1 rubygems