Changeset 35

Show
Ignore:
Timestamp:
11/25/06 15:26:46 (5 years ago)
Author:
yann
Message:

fix #7

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/globalize/rails/action_view.rb

    r21 r35  
    1111 
    1212    def render_file(template_path, use_full_path = true, local_assigns = {}) 
     13      @first_render ||= template_path 
     14       
    1315      if Globalize::Locale.active? 
    1416        localized_path = locate_globalize_path(template_path, use_full_path)