Show More
@@ -82,7 +82,7 b' def load_environment(global_conf, app_co' | |||
|
82 | 82 | |
|
83 | 83 | config['routes.map'] = make_map(config) |
|
84 | 84 | |
|
85 |
if asbool(config |
|
|
85 | if asbool(config.get('generate_js_files', 'false')): | |
|
86 | 86 | jsroutes = config['routes.map'].jsroutes() |
|
87 | 87 | jsroutes_file_content = generate_jsroutes_content(jsroutes) |
|
88 | 88 | jsroutes_file_path = os.path.join( |
General Comments 0
You need to be logged in to leave comments.
Login now