Changeset [3eb9fb63e5a1f71de7fdeb83313e18656979a6d6] by Walter McGinnis

January 7th, 2011 @ 01:00 PM

Adding logic for when to make an ajax request vs straight linking. On sites that https, redirecting to login action was problematic via ajax (you need to use same protocol from requesting page as all the way through the process).

So if the user is logged out (i.e. necessitating login action before translating), just drop use of lightbox and do straight linking.
https://github.com/kete/kete_translatable_content/commit/3eb9fb63e5...

Committed by Walter McGinnis

  • M lib/kete_translatable_content/extensions/helpers/application_helper.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Kete Translatable Content is a gem that is an add-on for Kete web applications that takes advantage of the mongo_translatable gem’s functionality. As you would expect, you use it to add the ability to translate content in your Kete web site.

Obviously, your site should be set up to support to support multiples locales for this add-on to be useful.

Shared Ticket Bins