Rewrite resource patterns to generate Haml templates via erb