diff options
author | Alex Legler <alex@a3li.li> | 2015-02-22 01:48:28 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-02-22 01:48:28 +0100 |
commit | fd64b3e0ee9c92ea18e77190ff6d9bf0e404572c (patch) | |
tree | 5e5a7a033fd8af6af913b6eaa7f254b614b0daec | |
parent | less redirection magic (diff) | |
download | frontend-fd64b3e0ee9c92ea18e77190ff6d9bf0e404572c.tar.gz frontend-fd64b3e0ee9c92ea18e77190ff6d9bf0e404572c.tar.bz2 frontend-fd64b3e0ee9c92ea18e77190ff6d9bf0e404572c.zip |
and a slash
-rw-r--r-- | ag-web.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |