commit:     fd64b3e0ee9c92ea18e77190ff6d9bf0e404572c
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Feb 22 00:48:28 2015 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 00:48:28 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=fd64b3e0

and a slash

---
 ag-web.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ag-web.rb b/ag-web.rb
index 63d194f..ef326c8 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 "/%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
 

Reply via email to