> AFTER > raise TemplateError.new(lookup_template_base_path_for(file_name || > template), file_name || template, @assigns, template, e) > > The reason we have to call #find_base_path_for is TemplateError wants > the current base path (app/views) instead of the path to the template > file (app/views/your-controller). > > Since file_name is the full path, perhaps we just go through the > available base_paths, looking for any that match the beginning of > file_name. If none match, then just assume the first base_path (99% > of the time you'll only have 1 anyway).
This should work: http://dev.rubyonrails.org/changeset/6505 -- Rick Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
