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 /railties/lib/rails/paths.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 'railties/lib/rails/paths.rb')
-rw-r--r-- | railties/lib/rails/paths.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb index dd1790299d..9b4a69f19f 100644 --- a/railties/lib/rails/paths.rb +++ b/railties/lib/rails/paths.rb @@ -8,7 +8,7 @@ module Rails # root.add "app/controllers", :eager_load => true # # The command above creates a new root object and add "app/controllers" as a path. - # This means we can get a +Rails::Paths::Path+ object back like below: + # This means we can get a <tt>Rails::Paths::Path</tt> object back like below: # # path = root["app/controllers"] # path.eager_load? # => true |