Can finally assume "simple" menus by default

all apps in the wild already using them
This commit is contained in:
Lance Edgar 2019-04-02 21:55:54 -05:00
parent c26af4758b
commit 2bdcc4fe47

View file

@ -117,7 +117,8 @@ def before_render(event):
# heck while we're assuming the classic web app here... # heck while we're assuming the classic web app here...
# (we don't want this to happen for the API either!) # (we don't want this to happen for the API either!)
# TODO: just..awful *shrug* # TODO: just..awful *shrug*
if request.rattail_config.getbool('tailbone', 'menus.simple', default=False): # note that we assume "simple" menus nowadays
if request.rattail_config.getbool('tailbone', 'menus.simple', default=True):
renderer_globals['menus'] = make_simple_menus(request) renderer_globals['menus'] = make_simple_menus(request)
# TODO: ugh, same deal here # TODO: ugh, same deal here