lib/lalala/ext_i18n/negotiation_adapter.rb in lalala-4.1.0.dev.386 vs lib/lalala/ext_i18n/negotiation_adapter.rb in lalala-4.1.0.dev.387
- old
+ new
@@ -26,6 +26,10 @@
def ignored?(env)
%r{^/(lalala|assets)(/|$)} === env['PATH_INFO']
end
+ def allow_accept_language
+ !!Rails.configuration.lalala.i18n.allow_accept_language
+ end
+
end