Return-Path: X-Original-To: apmail-allura-commits-archive@www.apache.org Delivered-To: apmail-allura-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DD9118303 for ; Wed, 22 Jul 2015 15:49:03 +0000 (UTC) Received: (qmail 28225 invoked by uid 500); 22 Jul 2015 15:48:29 -0000 Delivered-To: apmail-allura-commits-archive@allura.apache.org Received: (qmail 28170 invoked by uid 500); 22 Jul 2015 15:48:29 -0000 Mailing-List: contact commits-help@allura.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@allura.apache.org Delivered-To: mailing list commits@allura.apache.org Received: (qmail 28062 invoked by uid 99); 22 Jul 2015 15:48:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2015 15:48:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F3D6AE35C9; Wed, 22 Jul 2015 15:48:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: heiths@apache.org To: commits@allura.apache.org Date: Wed, 22 Jul 2015 15:48:31 -0000 Message-Id: In-Reply-To: <67da0856e51744908cd27586ffaaaa67@git.apache.org> References: <67da0856e51744908cd27586ffaaaa67@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/11] allura git commit: [#7685] ticket:802 Added @with_trailing_slash to discussion thread controller [#7685] ticket:802 Added @with_trailing_slash to discussion thread controller Project: http://git-wip-us.apache.org/repos/asf/allura/repo Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/dada202f Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/dada202f Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/dada202f Branch: refs/heads/master Commit: dada202ff032b97f3d43ffc17eaa3d5f90ff1080 Parents: e2cd5f6 Author: Aleksey 'LXj' Alekseyev Authored: Thu Jul 2 16:32:16 2015 +0300 Committer: Heith Seewald Committed: Wed Jul 22 11:47:57 2015 -0400 ---------------------------------------------------------------------- Allura/allura/controllers/discuss.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/allura/blob/dada202f/Allura/allura/controllers/discuss.py ---------------------------------------------------------------------- diff --git a/Allura/allura/controllers/discuss.py b/Allura/allura/controllers/discuss.py index 28cfcb6..13fe436 100644 --- a/Allura/allura/controllers/discuss.py +++ b/Allura/allura/controllers/discuss.py @@ -20,6 +20,7 @@ from datetime import datetime import logging from tg import expose, redirect, validate, request, flash +from tg.decorators import with_trailing_slash from pylons import tmpl_context as c, app_globals as g from webob import exc @@ -182,6 +183,7 @@ class ThreadController(BaseController, FeedController): id = unquote(id) return self.PostController(self._discussion_controller, self.thread, id), remainder + @with_trailing_slash @expose('jinja:allura:templates/discussion/thread.html') def index(self, limit=None, page=0, count=0, **kw): c.thread = self.W.thread