class UsersController < ApplicationController
caches_page :view
def view
end
end
The current application is needed to have i10n,for example,
/users/view/1 will display user details of ID 1 in English and under
public/users/view it has been got 1.html, however, if the it has been
changed to other language by ruby-gettext,and still /users/view/1 has
been requested, then currently 1.html in English will be responsed,which
is not in the correct language. How to resolve such a kind of problem?
very grateful
Best Regards
Fed
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---