mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
fixing issue with routes that don't have (or need) a corresponding api_method case from crashing due to 404. (issue #53)
This commit is contained in:
@@ -161,6 +161,9 @@
|
||||
|
||||
template_data = data;
|
||||
parse_template();
|
||||
}).fail(function(data) {
|
||||
template_data = {};
|
||||
parse_template();
|
||||
});
|
||||
}());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user