CCALI / a2jdat

This repo hosts the distributable production version of the A2J Document Assembly Tool (DAT). The document assembly tool is an optional piece of software used for producing pdf documents at the end of A2J Author Guided Interviews.
https://www.a2jauthor.org
Other
3 stars 1 forks source link

Simplify the logic in /assemble #95

Closed chasenlehara closed 2 years ago

chasenlehara commented 2 years ago

Previously, the logic inside assemble had two paths that did similar things: render text templates, set download headers, send the file, etc.

Now, the logic for getting the templates remains different, but rendering and sending the file is the same.

This also includes:

Part of https://github.com/CCALI/a2jdat/issues/94

mikemitchel commented 2 years ago

one nitpick comment above, but :shipit: