Sha256: d6159f332db57e4e85a12d8f99b1697b62073a88dc59f3013ce192fe319f1630
Contents?: true
Size: 926 Bytes
Versions: 5
Compression:
Stored size: 926 Bytes
Contents
# Use this setup block to configure all options available in i18nline. I18nline.setup do |config| # A helper method available in your views so we can ask if there is a current user. #config.current_user_method = "current_user" # A method your current_user has to respond to affirmatively to be able to # interact with i18nline administration features, like inline markers and # translation management views. # This method will be tried in the instance returned by the 'current_user' helper # specified above: current_user.can_translate? #config.can_translate_method = "can_translate?" # A route available in your application to redirect the user to login # when he tries to access to protected views. This route should be # available on your 'rake routes'. #config.login_route = "\login_url" # Missing translations will be generated for this locales. #config.enabled_locales = %w(en es it) end
Version data entries
5 entries across 5 versions & 2 rubygems