Hey all,

I have an index action that can respond_to html or js calls.

- If I navigate to the page via a straight link_to, it renders the rjs
as html -- it chooses not to render the haml template.
- If I remove the rjs file, it renders the haml template just fine.
- If I create an rhtml template, it renders the rhtml template
correctly instead of the rjs.

It appears that the haml plugin knows to render index.haml instead of
index.rhtml, but it doesn't know to render index.haml instead of
index.rjs.  Any ideas?

If there isn't a fix, I'm happy to create the index.rhtml, but then I
wouldn't be using *all* haml in my app ;)


thanks
Ben


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to