diff options
-rw-r--r-- | ag-web.rb | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -101,7 +101,11 @@ get '/:list/' do end end -get '/:list/(threads|messages)/?' do +get '/:list/threads/?' do + redirect '/%s/' % [params[:list]], 301 +end + +get '/:list/messages/?' do redirect '/%s/' % [params[:list]], 301 end |