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

Changeset 7850

Show
Ignore:
Timestamp:
10/13/07 03:32:20 (1 year ago)
Author:
nzkoz
Message:

Define get_via_redirect as well. Closes #6834 [colthorp]

Files:

Legend:

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

    r7724 r7850  
    494494    end 
    495495 
    496     %w(get post put head delete cookies assigns xml_http_request).each do |method| 
     496    %w(get post put head delete cookies assigns  
     497       xml_http_request get_via_redirect).each do |method| 
    497498      define_method(method) do |*args| 
    498499        reset! unless @integration_session