diff options
author | Mark Rushakof <mark.rushakoff@gmail.com> | 2012-04-27 00:00:30 -0700 |
---|---|---|
committer | Mark Rushakof <mark.rushakoff@gmail.com> | 2012-04-27 00:00:30 -0700 |
commit | 8cc4159018929fb4b0aa431b7041f6a66f160180 (patch) | |
tree | 3b6028a1cebeda9bb7a4f1babaf539a09d045289 /actionpack/lib/action_controller/metal/params_wrapper.rb | |
parent | 504e539166ab3528e6377ae8bcf5ddacb3572729 (diff) | |
download | rails-8cc4159018929fb4b0aa431b7041f6a66f160180.tar.gz rails-8cc4159018929fb4b0aa431b7041f6a66f160180.tar.bz2 rails-8cc4159018929fb4b0aa431b7041f6a66f160180.zip |
Use <tt>Foo::Bar</tt> instead of +Foo::Bar+
The latter doesn't render as code in HTML output.
Regex used in Rubymine to locate the latter form:
(\+)(:*\w+:(?::|\w)+)(\+)
Diffstat (limited to 'actionpack/lib/action_controller/metal/params_wrapper.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/params_wrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/params_wrapper.rb b/actionpack/lib/action_controller/metal/params_wrapper.rb index fa760f2658..17e2db74d4 100644 --- a/actionpack/lib/action_controller/metal/params_wrapper.rb +++ b/actionpack/lib/action_controller/metal/params_wrapper.rb @@ -66,7 +66,7 @@ module ActionController # class Admin::UsersController < ApplicationController # end # - # will try to check if +Admin::User+ or +User+ model exists, and use it to + # will try to check if <tt>Admin::User</tt> or +User+ model exists, and use it to # determine the wrapper key respectively. If both models don't exist, # it will then fallback to use +user+ as the key. module ParamsWrapper |