From 019667042398a78cf58e6475c81e5c75c4fff895 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 9 Mar 2016 11:00:32 -0500 Subject: remove unused comments --- src/guff/models/post.cr | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/guff/models/post.cr b/src/guff/models/post.cr index 98a0226..7fd6ec1 100644 --- a/src/guff/models/post.cr +++ b/src/guff/models/post.cr @@ -168,7 +168,6 @@ module Guff # build tmpl args tmpl_args = { - # TODO "filter": get_filter_clause(filters), "sort": get_sort_clause(sort), "dir": dir, @@ -179,7 +178,7 @@ module Guff # count number of matching rows num_rows = (one(:count_posts, sql_args, tmpl_args).to_s || 0).to_i - # TODO: add Post class? + # build rows rows = [] of Post if num_rows > 0 all(:get_posts, sql_args.merge({ -- cgit v1.2.3