mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
closes #495
This commit is contained in:
@@ -12,7 +12,7 @@ var user = require('./../user.js'),
|
||||
|
||||
|
||||
(function (Api) {
|
||||
Api.create_routes = function (app) {
|
||||
Api.createRoutes = function (app) {
|
||||
app.namespace('/api', function () {
|
||||
app.get('/get_templates_listing', function (req, res) {
|
||||
utils.walk(path.join(__dirname, '../../', 'public/templates'), function (err, data) {
|
||||
|
||||
Reference in New Issue
Block a user