# File lib/merb-core/controller/template.rb, line 30 def template_name(path) path = File.expand_path(path) path.gsub(/[^\.a-zA-Z0-9]/, "__").gsub(/\./, "_") end