diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-09 11:00:32 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-09 11:00:32 -0500 |
commit | 019667042398a78cf58e6475c81e5c75c4fff895 (patch) | |
tree | 9b6e8f2d18268d2c31c35a9017e51296fc5d8565 /src/guff/models | |
parent | e5bc198de105c366cacd48d1d4a9fae63b699225 (diff) | |
download | old-guff-019667042398a78cf58e6475c81e5c75c4fff895.tar.bz2 old-guff-019667042398a78cf58e6475c81e5c75c4fff895.zip |
remove unused comments
Diffstat (limited to 'src/guff/models')
-rw-r--r-- | src/guff/models/post.cr | 3 |
1 files changed, 1 insertions, 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({ |