Skip to content

Commit b647bf6

Browse files
author
joeltaylor
committed
Merge branch 'master' into group_flow_by_date
2 parents acc787c + bc2f1e0 commit b647bf6

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

client/stylesheets/components/_grid.sass

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@
7373
#{$g-selector}g-b--#{$namespace}1of1
7474
width: 100%
7575

76+
@for $column from 1 to 5
77+
#{$g-selector}g-b--#{$namespace}#{$column}of5
78+
width: percentage($column / 5)
79+
7680
@for $column from 1 to $g-columns
7781
@if $column != $g-columns
7882
#{$g-selector}g-b--#{$namespace}#{$column}of#{$g-columns}

routes/news.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ router.
232232
comment[0].isSpam = true;
233233
res.json({comment: comment[0]});
234234
}else{
235-
res.redirect('/news/' + newComment.slug + '#comment-' + comment[0].id );
235+
Comments.findByCommentId(comment[0].id, function(comment) {
236+
res.json({comment: comment[0]});
237+
});
236238
}
237239
});
238240
}).

0 commit comments

Comments
 (0)