lib/desert/plugin_templates/action_view.rb in tog-desert-0.3.4 vs lib/desert/plugin_templates/action_view.rb in tog-desert-0.3.5
- old
+ new
@@ -1,5 +1,6 @@
dir = File.dirname(__FILE__)
+
if ActionView.const_defined?(:TemplateFinder)
require "#{dir}/2.1.0/action_view"
else
if ActionView::Base.private_instance_methods.include?('find_template_extension_from_handler')
if ActionView::Base.instance_methods.include?('template_handler_preferences')
\ No newline at end of file