@@ -52,16 +52,15 @@ def template(app):
52
52
53
53
def clear_static_generated_templates ():
54
54
"""
55
- Our various frontend applications use the wrapper.html.erb and
56
- header_footer_only.html.erb templates. They get these templates
57
- using the Slimmer gem. And this gem fetches these templates from
58
- the static application, located using the ASSET_ROOT.
59
-
60
- When static is deployed there are no generated wrapper.html.erb or
61
- header_footer_only.html.erb templates. At the first request of
62
- either of these, the application will generate the template. The
63
- template will be placed in the public/template directory. From
64
- that point on, the templates are served by nginx.
55
+ Our various frontend applications use the wrapper.html.erb,
56
+ header_footer_only.html.erb and core_layout.html.erb layout templates.
57
+ They get these templates using the Slimmer gem, which fetches
58
+ these templates from the static application, located using ASSET_ROOT.
59
+
60
+ When static is deployed there are no generated layout templates
61
+ on static At the first request to one these, static will generate
62
+ the template. The template will be placed in the public/template
63
+ directory. From that point on, the templates are served by nginx.
65
64
66
65
This function clears the public/template directory to force it to
67
66
be regenerated to include the emergency campaign.
0 commit comments