Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8316

Show
Ignore:
Timestamp:
12/05/07 22:07:58 (9 months ago)
Author:
marcel
Message:

Add example of redirect_to that uses a named route. Closes #7149 [stevenbristol]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/base.rb

    r8301 r8316  
    10251025      #   redirect_to "http://www.rubyonrails.org" 
    10261026      #   redirect_to "/images/screenshot.jpg" 
     1027      #   redirect_to articles_url 
    10271028      #   redirect_to :back 
    10281029      #