jaysylvester / comitium

Forum software for Node.js
MIT License
0 stars 1 forks source link

Move themePath definition from individual controllers to session start #202

Closed jaysylvester closed 2 years ago

jaysylvester commented 2 years ago

themePath is defined across multiple controllers (+head, +header) and missing from some patterns where it should be (user), so it's broken. Move the definition from controllers into the session start hook and store it in the session scope instead.