diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-22 15:59:23 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-22 15:59:23 -0800 |
commit | c5c3274b65cfac4eb9f4c282b0b3d730bf9af596 (patch) | |
tree | 15b12888ef4c8301aaf512d7b67cb3957e8ac2b3 | |
parent | fadad9fcef1a0cd5dac4eb1bb290b94b8e6eaac0 (diff) | |
parent | 64fa7f72581e86cd75d052867bdf520e5fb09386 (diff) | |
download | rails-c5c3274b65cfac4eb9f4c282b0b3d730bf9af596.tar.gz rails-c5c3274b65cfac4eb9f4c282b0b3d730bf9af596.tar.bz2 rails-c5c3274b65cfac4eb9f4c282b0b3d730bf9af596.zip |
Merge pull request #5087 from pwnall/no_view_logger
Remove reference to config.action_view.logger from Rails configuration guide
-rw-r--r-- | railties/guides/source/configuring.textile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 2488f86450..98582946b4 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -337,7 +337,7 @@ h4. Configuring Action Dispatch h4. Configuring Action View -There are only a few configuration options for Action View, starting with four on +ActionView::Base+: +There are only a few configuration options for Action View, starting with three on +ActionView::Base+: * +config.action_view.field_error_proc+ provides an HTML generator for displaying errors that come from Active Record. The default is @@ -347,8 +347,6 @@ Proc.new { |html_tag, instance| %Q(<div class="field_with_errors">#{html_tag}</d * +config.action_view.default_form_builder+ tells Rails which form builder to use by default. The default is +ActionView::Helpers::FormBuilder+. -* +config.action_view.logger+ accepts a logger conforming to the interface of Log4r or the default Ruby Logger class, which is then used to log information from Action Mailer. Set to +nil+ to disable logging. - * +config.action_view.erb_trim_mode+ gives the trim mode to be used by ERB. It defaults to +'-'+. See the "ERB documentation":http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/ for more information. * +config.action_view.javascript_expansions+ is a hash containing expansions that can be used for the JavaScript include tag. By default, this is defined as: |