We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acc787c + bc2f1e0 commit b647bf6Copy full SHA for b647bf6
2 files changed
client/stylesheets/components/_grid.sass
@@ -73,6 +73,10 @@
73
#{$g-selector}g-b--#{$namespace}1of1
74
width: 100%
75
76
+ @for $column from 1 to 5
77
+ #{$g-selector}g-b--#{$namespace}#{$column}of5
78
+ width: percentage($column / 5)
79
+
80
@for $column from 1 to $g-columns
81
@if $column != $g-columns
82
#{$g-selector}g-b--#{$namespace}#{$column}of#{$g-columns}
routes/news.js
@@ -232,7 +232,9 @@ router.
232
comment[0].isSpam = true;
233
res.json({comment: comment[0]});
234
}else{
235
- res.redirect('/news/' + newComment.slug + '#comment-' + comment[0].id );
+ Comments.findByCommentId(comment[0].id, function(comment) {
236
+ res.json({comment: comment[0]});
237
+ });
238
}
239
});
240
}).
0 commit comments