Skip to content
Permalink
Browse files

Added domain when no title for a blog exists

  • Loading branch information...
davidmerfield committed Mar 8, 2019
1 parent 6fc69ac commit ba9b7dc6a56be30856530ed69ed6185986479051
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/dashboard/routes/settings/index.js
@@ -15,7 +15,7 @@ settings.use(function(req, res, next) {
});

settings.use(function(req, res, next) {
res.locals.breadcrumbs.add(req.blog.title, "/settings");
res.locals.breadcrumbs.add(req.blog.title || req.blog.pretty.url, "/settings");
res.locals.setup = !!req.query.setup;

next();

0 comments on commit ba9b7dc

Please sign in to comment.
You can’t perform that action at this time.