diff options
-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 |