Permalink
Browse files

Change autoload declaration in ActionView::Helpers from JavascriptHel…

…per to JavascriptHelper, matching the actual helper name. Also removed require from UrlHelper which was inadvertently preventing the autoload typo from causing a failure.

Signed-off-by: Michael Koziarski <michael@koziarski.com>
  • Loading branch information...
1 parent b1a044b commit d97073337c7b9012bad4d65ef61ce8f07f8179aa @tomafro tomafro committed with NZKoz May 22, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 actionpack/lib/action_view/helpers.rb
  2. +1 −1 actionpack/lib/action_view/helpers/url_helper.rb
@@ -11,7 +11,7 @@ module Helpers #:nodoc:
autoload :FormHelper, 'action_view/helpers/form_helper'
autoload :FormOptionsHelper, 'action_view/helpers/form_options_helper'
autoload :FormTagHelper, 'action_view/helpers/form_tag_helper'
- autoload :JavascriptHelper, 'action_view/helpers/javascript_helper'
+ autoload :JavaScriptHelper, 'action_view/helpers/javascript_helper'
autoload :NumberHelper, 'action_view/helpers/number_helper'
autoload :PrototypeHelper, 'action_view/helpers/prototype_helper'
autoload :RecordIdentificationHelper, 'action_view/helpers/record_identification_helper'
@@ -1,4 +1,4 @@
-require 'action_view/helpers/javascript_helper'
+#require 'action_view/helpers/javascript_helper'
module ActionView
module Helpers #:nodoc:

0 comments on commit d970733

Please sign in to comment.