# File lib/merb-gen/helpers.rb, line 13
  def relative(path, dir = nil)
    path.gsub(/^#{base}\/templates(\/#{dir ? dir + "/" : ""})?/, "")
  end