I'm not sure. That's really more of a Rails API question... I'd suggest
asking the Rails list.

On Tue, Nov 16, 2010 at 9:38 AM, Brent Miller <[email protected]> wrote:

> I've got a Rails app that I'm converting over to HAML. During the
> conversion process, we want to keep the new views away from some of
> our users until they're ready for public beta. Is there a master
> switch I can flip, in a controller before_filter, that would tell
> Rails to render ERB rather than HAML when both template types exist?
> By default the HAML will always be rendered, but I'd like to configure
> that.
>
> Thanks!
>
> Brent
>
> --
> 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] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
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