summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-05-30 20:12:38 +0200
committerMichał Górny <mgorny@gentoo.org>2018-05-30 20:12:38 +0200
commit465434aa45a256ba66b934689222dead4b1cf6d8 (patch)
tree1fc5c76e2747f8ad3f8648f75b5bf891c055e65f
parentlistmonth: Do not display (empty) table when no messages (diff)
downloadfrontend-465434aa45a256ba66b934689222dead4b1cf6d8.tar.gz
frontend-465434aa45a256ba66b934689222dead4b1cf6d8.tar.bz2
frontend-465434aa45a256ba66b934689222dead4b1cf6d8.zip
Try fixing 'undefined no_threads' error
-rw-r--r--ag-web.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ag-web.rb b/ag-web.rb
index a37c2ec..44745ed 100644
--- a/ag-web.rb
+++ b/ag-web.rb
@@ -168,7 +168,8 @@ get '/:list/messages/:year-:month/:page?' do
list: params[:list],
current_page: current_page,
max_pages: max_pages,
- mode: :messages
+ mode: :messages,
+ no_threads: false
}
rescue => e
$stderr.puts e.to_s