From 3b88493bbbcfe3a18611e6601a10906ea1248c90 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 12 Apr 2015 14:52:28 +0900 Subject: remove reference to `register_javascript_expansion` and `register_stylesheet_expansion` from guide [ci skip] These methods no longer exists. --- guides/source/action_view_overview.md | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'guides/source/action_view_overview.md') diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md index e7f57063d5..abf6c0db11 100644 --- a/guides/source/action_view_overview.md +++ b/guides/source/action_view_overview.md @@ -376,32 +376,6 @@ config.action_controller.asset_host = "assets.example.com" image_tag("rails.png") # => Rails ``` -#### register_javascript_expansion - -Register one or more JavaScript files to be included when symbol is passed to javascript_include_tag. This method is typically intended to be called from plugin initialization to register JavaScript files that the plugin installed in `vendor/assets/javascripts`. - -```ruby -ActionView::Helpers::AssetTagHelper.register_javascript_expansion monkey: ["head", "body", "tail"] - -javascript_include_tag :monkey # => - - - -``` - -#### register_stylesheet_expansion - -Register one or more stylesheet files to be included when symbol is passed to `stylesheet_link_tag`. This method is typically intended to be called from plugin initialization to register stylesheet files that the plugin installed in `vendor/assets/stylesheets`. - -```ruby -ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion monkey: ["head", "body", "tail"] - -stylesheet_link_tag :monkey # => - - - -``` - #### auto_discovery_link_tag Returns a link tag that browsers and feed readers can use to auto-detect an RSS or Atom feed. -- cgit v1.2.3