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

Changeset 3893

Show
Ignore:
Timestamp:
03/16/06 04:09:18 (3 years ago)
Author:
ulysses
Message:

Explain thyself

Files:

Legend:

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

    r3883 r3893  
    234234             
    235235            begin 
     236              # We use eval instead of const_get to avoid obtaining values from parent modules. 
    236237              controller = eval("mod::#{controller_name}", nil, __FILE__, __LINE__) 
    237238              expected_name = "#{mod.name}::#{controller_name}"