diff options
| author | Damien Mathieu <42@dmathieu.com> | 2013-07-18 17:15:09 +0200 |
|---|---|---|
| committer | Damien Mathieu <42@dmathieu.com> | 2013-07-18 17:15:11 +0200 |
| commit | bae07dcce2f6821e202e1e0b544421d6851e8ecf (patch) | |
| tree | 0c508fc415c5d10e4bda60d03befa257280aac75 | |
| parent | 3c6767cadedce64119ceef25ce97a03784ebd41f (diff) | |
| download | rails-bae07dcce2f6821e202e1e0b544421d6851e8ecf.tar.gz rails-bae07dcce2f6821e202e1e0b544421d6851e8ecf.tar.bz2 rails-bae07dcce2f6821e202e1e0b544421d6851e8ecf.zip | |
use the appropriate RDoc code markup
Thanks @fxn
| -rw-r--r-- | railties/lib/rails/console/helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/console/helpers.rb b/railties/lib/rails/console/helpers.rb index efc27953e5..b775f1ff8d 100644 --- a/railties/lib/rails/console/helpers.rb +++ b/railties/lib/rails/console/helpers.rb @@ -2,14 +2,14 @@ module Rails module ConsoleMethods # Gets the helper methods available to the controller. # - # This method assumes an `ApplicationController` exists, and it extends `ActionController::Base` + # This method assumes an +ApplicationController+ exists, and it extends +ActionController::Base+ def helper @helper ||= ApplicationController.helpers end # Gets a new instance of a controller object. # - # This method assumes an `ApplicationController` exists, and it extends `ActionController::Base` + # This method assumes an +ApplicationController+ exists, and it extends +ActionController::Base+ def controller @controller ||= ApplicationController.new end |
