spec/dummy/app/contexts/language_context.rb in contexts-0.1.0 vs spec/dummy/app/contexts/language_context.rb in contexts-0.1.1
- old
+ new
@@ -1,9 +1,13 @@
class LanguageContext < Contexts::Base
def key
:lang
end
+ def required?
+ false
+ end
+
def constraints
/ru|en/
end
def default