diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-30 16:04:58 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-30 16:04:58 -0600 |
commit | ff3f779629ef0d987642222ff2c74271b029e996 (patch) | |
tree | 7178e4bcab6fdc84aa334bcae581b6c0414243ab /actionpack | |
parent | ad1924125d0aedec9d4555e1e13247e84d65fa01 (diff) | |
download | rails-ff3f779629ef0d987642222ff2c74271b029e996.tar.gz rails-ff3f779629ef0d987642222ff2c74271b029e996.tar.bz2 rails-ff3f779629ef0d987642222ff2c74271b029e996.zip |
Unused JAVASCRIPT_PATH const
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascript_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb index f9249e667d..c84bd2ce96 100644 --- a/actionpack/lib/action_view/helpers/javascript_helper.rb +++ b/actionpack/lib/action_view/helpers/javascript_helper.rb @@ -35,10 +35,6 @@ module ActionView # For documentation on +javascript_include_tag+ see # ActionView::Helpers::AssetTagHelper. module JavaScriptHelper - unless const_defined? :JAVASCRIPT_PATH - JAVASCRIPT_PATH = File.join(File.dirname(__FILE__), 'javascripts') - end - include PrototypeHelper # Returns a button with the given +name+ text that'll trigger a JavaScript +function+ using the |