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

Ticket #7149: controller.base.diff

File controller.base.diff, 441 bytes (added by stevenbristol, 2 years ago)
  • base.rb

    old new  
    957957      #   redirect_to :action => "show", :id => 5 
    958958      #   redirect_to "http://www.rubyonrails.org" 
    959959      #   redirect_to "/images/screenshot.jpg" 
     960      #   redirect_to articles_url 
    960961      #   redirect_to :back 
    961962      # 
    962963      # The redirection happens as a "302 Moved" header.