as no one replied so far so I try to reply to keep this post up, hope
somebody will know the answer
On Mar 14, 11:31 pm, goodwill
<william.yeung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I am doing a multi-lingual website which might have several layout
> pages (language dependent)available. I want to do a mechanism to fall
> back from one language to another default language if such layout file
> is missing. Any chance I can do an is_exist check on the layout? With
> my current code I really want to just check it instead of catching a
> MissingTemplate error.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---