static public Method

TemplateFinder.reload!

There's no documentation for this item.

Source Code

# File action_view/template_finder.rb, line 56
def reload!
  view_paths = @@processed_view_paths.keys

  @@processed_view_paths = Hash.new {|hash, key| hash[key] = []}
  @@file_extension_cache = Hash.new {|hash, key|
    hash[key] = Hash.new {|hash, key| hash[key] = []}
  }

  process_view_paths(view_paths)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.