lib/fusuma/config/searcher.rb in fusuma-3.3.0 vs lib/fusuma/config/searcher.rb in fusuma-3.3.1

- old
+ new

@@ -98,10 +98,10 @@ # 2. complete match config[:context] == request_context # 3. partial match config[:context] =~ request_context # no_context?(&block) || # complete_match_context(request_context, &block) || # partial_match_context(request_context, &block) - fallbacks.each do |method| + fallbacks.find do |method| result = send(method, request_context, &block) return result if result end end