lib/papermill.rb in papermill-0.10.0 vs lib/papermill.rb in papermill-0.10.1
- old
+ new
@@ -1,11 +1,9 @@
require 'core_extensions'
Object.send :include, ObjectExtensions
Hash.send :include, HashExtensions
String.send :include, StringExtensions
-
-I18n.load_path = [File.join(File.dirname(__FILE__), "../config/locales/papermill.yml")] + I18n.load_path
-
+String.send :include, StringToUrlNotFound unless String.instance_methods.include? "to_url"
require 'papermill/papermill_module'
require 'papermill/papermill_asset'
require 'papermill/form_builder'
require 'papermill/papermill_helper'
ActionView::Base.send :include, PapermillHelper