[Strainer] Separate factory from template

This commit is contained in:
Thierry Joyal
2020-01-06 17:45:25 +00:00
parent b7f0f158ab
commit c0ffeeef26
10 changed files with 247 additions and 208 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ module Liquid
# Pass a module with filter methods which should be available
# to all liquid views. Good for registering the standard library
def register_filter(mod)
Strainer.global_filter(mod)
StrainerFactory.add_global_filter(mod)
end
def default_resource_limits