From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 89BEF138A87 for ; Sun, 22 Feb 2015 00:31:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16577E0872; Sun, 22 Feb 2015 00:31:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE575E0872 for ; Sun, 22 Feb 2015 00:31:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B33F340AF7 for ; Sun, 22 Feb 2015 00:30:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00C831245A for ; Sun, 22 Feb 2015 00:30:58 +0000 (UTC) From: "Alex Legler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alex Legler" Message-ID: <1424565040.8aaf89df9fbe64113864059d45c0c36a29d3b77b.a3li@gentoo> Subject: [gentoo-commits] proj/ag-web:master commit in: / X-VCS-Repository: proj/ag-web X-VCS-Files: ag-web.rb X-VCS-Directories: / X-VCS-Committer: a3li X-VCS-Committer-Name: Alex Legler X-VCS-Revision: 8aaf89df9fbe64113864059d45c0c36a29d3b77b X-VCS-Branch: master Date: Sun, 22 Feb 2015 00:30:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c7391dd4-2260-40c3-97dd-741823129953 X-Archives-Hash: 876b9d0d7fc21e0b29991f995abc9f7c commit: 8aaf89df9fbe64113864059d45c0c36a29d3b77b Author: Alex Legler a3li li> AuthorDate: Sun Feb 22 00:30:40 2015 +0000 Commit: Alex Legler gentoo org> CommitDate: Sun Feb 22 00:30:40 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=8aaf89df less redirection magic --- ag-web.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ag-web.rb b/ag-web.rb index 182d269..63d194f 100644 --- a/ag-web.rb +++ b/ag-web.rb @@ -107,7 +107,7 @@ get '/:list/threads/:year-:month/:page?' do max_pages = (result['hits']['total'].to_f / PER_PAGE).ceil if result['hits']['total'] == 0 - redirect to("/%s/messages/%s-%s?no_threads=1" % [params[:list], params[:year], params[:month]]) + redirect "/%s/messages/%s-%s?no_threads=1" % [params[:list], params[:year], params[:month]] return end