spec/dummy/app/contexts/language_context.rb in contexts-1.0.0 vs spec/dummy/app/contexts/language_context.rb in contexts-1.1.0

- old
+ new

@@ -6,10 +6,10 @@ def required? false end def constraints - /ru|en/ + Regexp.new(I18n.available_locales.join('|')) end def default I18n.default_locale end