lib/lalala/ext_i18n/negotiation_adapter.rb in lalala-4.0.0.dev.385 vs lib/lalala/ext_i18n/negotiation_adapter.rb in lalala-4.0.0.dev.388
- 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