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

Changeset 4526

Show
Ignore:
Timestamp:
06/30/06 06:51:22 (2 years ago)
Author:
bitsweat
Message:

fix regexp typo

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionmailer/lib/action_mailer/base.rb

    r4523 r4526  
    349349            # TODO: don't hardcode rhtml|rxml 
    350350            basename = File.basename(path) 
    351             next unless md = /^([^\.]+)\.([^\.]+\.[^\+]+)\.(rhtml|rxml)$/.match(basename) 
     351            next unless md = /^([^\.]+)\.([^\.]+\.[^\.]+)\.(rhtml|rxml)$/.match(basename) 
    352352            template_name = basename 
    353353            content_type = md.captures[1].gsub('.', '/')