use a before filter?

2009/12/15 George Adamson <[email protected]>

> Instead of checking request.ajax (or request.xhr) before deciding
> whether to set layout=false, is it possible to have this happen
> automatically? Is there somewhere I can set this more generically to
> apply to all actions?
>
> I only ask because it seems like a lot of repeated code to be testing
> in every controller action?
>
> Cheers,
>
> George
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "merb" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <merb%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/merb?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en.


Reply via email to