Skip to content

Commit

Permalink
Change path of site-specific template overrides
Browse files Browse the repository at this point in the history
Old: `byceps/template_overrides/<site_id>`
New: `sites/<side_id>/template_overrides`
  • Loading branch information
homeworkprod committed Mar 2, 2019
1 parent 7828ac2 commit 8fdbe1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion byceps/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def init_app(app):

# Incorporate template overrides for the configured site ID.
site_id = config.get_current_site_id()
app.template_folder = str(Path('template_overrides') / site_id)
app.template_folder = str(Path('..') / 'sites' / site_id / 'template_overrides')
elif site_mode.is_admin() and app.config['RQ_DASHBOARD_ENABLED']:
import rq_dashboard
app.register_blueprint(rq_dashboard.blueprint,
Expand Down
File renamed without changes.

0 comments on commit 8fdbe1a

Please sign in to comment.