Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source
Show
Ignore:
Timestamp:
10/11/07 21:56:19 (1 year ago)
Author:
nzkoz
Message:

Backport fix to allow :controller=>:some_symbol [norbert]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1-2-stable/actionpack/lib/action_controller/routing.rb

    r7834 r7838  
    12551255        expire_on = build_expiry(options, recall) 
    12561256 
     1257        if options[:controller] 
     1258          options[:controller] = options[:controller].to_s 
     1259        end 
    12571260        # if the controller has changed, make sure it changes relative to the 
    12581261        # current controller module, if any. In other words, if we're currently