aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-03-03 17:36:08 -0800
committerCarl Lerche <carllerche@mac.com>2010-03-03 21:24:01 -0800
commitb160663bd13d08bf845bc8cdf87a2c5e7e46f901 (patch)
tree5144a55d7169b42132a878a65a583d9472b3b0b3 /actionpack/lib/action_view/helpers
parent54302ef55bffd1a93f20f5d1ae81217b2e4149c4 (diff)
downloadrails-b160663bd13d08bf845bc8cdf87a2c5e7e46f901.tar.gz
rails-b160663bd13d08bf845bc8cdf87a2c5e7e46f901.tar.bz2
rails-b160663bd13d08bf845bc8cdf87a2c5e7e46f901.zip
Start refactoring the method of configuring ActionView
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
index 5f76ff456e..b52d255d1f 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -133,13 +133,6 @@ module ActionView
# change. You can use something like Live HTTP Headers for Firefox to verify
# that the cache is indeed working.
module AssetTagHelper
- assets_dir = defined?(Rails.public_path) ? Rails.public_path : "public"
- ActionView::DEFAULT_CONFIG = {
- :assets_dir => assets_dir,
- :javascripts_dir => "#{assets_dir}/javascripts",
- :stylesheets_dir => "#{assets_dir}/stylesheets",
- }
-
JAVASCRIPT_DEFAULT_SOURCES = ['prototype', 'effects', 'dragdrop', 'controls', 'rails'].freeze unless const_defined?(:JAVASCRIPT_DEFAULT_SOURCES)
# Returns a link tag that browsers and news readers can use to auto-detect