Commit 60deeb53 authored by Holger Just's avatar Holger Just

Move definiton of liquid legacy tags into the Legacy module.

This is required to retaiun the definition in development mode as the module
is stragely reloaded.
parent 4656cf1c
......@@ -54,5 +54,13 @@ module ChiliProject
end
end
end
# FIXME: remove the deprecated syntax for 4.0, provide a way to migrate
# existing pages to the new syntax.
#
# See ChiliProject::Liquid::Tags for the registration of the tags.
Legacy.add('child_pages', :tag)
Legacy.add('hello_world', :tag)
Legacy.add('include', :tag)
end
end
......@@ -31,8 +31,3 @@ module ChiliProject::Liquid
end
end
# FIXME: remove the deprecated syntax for 4.0, provide a way to migrate
# existing pages to the new syntax.
ChiliProject::Liquid::Legacy.add('child_pages', :tag)
ChiliProject::Liquid::Legacy.add('hello_world', :tag)
ChiliProject::Liquid::Legacy.add('include', :tag)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment