diff options
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/metal.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb index ab603e40f2..b2c8053584 100644 --- a/actionpack/lib/action_controller/metal.rb +++ b/actionpack/lib/action_controller/metal.rb @@ -86,17 +86,17 @@ module ActionController # # class HelloController < ActionController::Metal # include ActionController::Redirecting + # include Rails.application.routes.url_helpers # # def index - # redirect_to "http://www.example.com" + # redirect_to root_url # end # end # # == Other Helpers # - # You can refer to the modules defined in ActionController to see - # the other features in <tt>ActionController::Base</tt> that you can bring - # into your metal controller. + # You can refer to the modules included in <tt>ActionController::Base</tt> to see + # other features you can bring into your metal controller. # class Metal < AbstractController::Base abstract! |