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 B8A4118306 for ; Wed, 22 Jul 2015 15:49:03 +0000 (UTC) Received: (qmail 28360 invoked by uid 500); 22 Jul 2015 15:48:29 -0000 Delivered-To: apmail-allura-commits-archive@allura.apache.org Received: (qmail 28323 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 28122 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 115D3E35EB; Wed, 22 Jul 2015 15:48:29 +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:36 -0000 Message-Id: In-Reply-To: <67da0856e51744908cd27586ffaaaa67@git.apache.org> References: <67da0856e51744908cd27586ffaaaa67@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [09/11] allura git commit: [#7685] ticket:802 Add trailing slash to discussion controller [#7685] ticket:802 Add trailing slash to discussion controller Project: http://git-wip-us.apache.org/repos/asf/allura/repo Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/63dbb3df Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/63dbb3df Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/63dbb3df Branch: refs/heads/master Commit: 63dbb3dfadabf1b5dff1d5feecf426c56e963576 Parents: eb5f3d6 Author: Igor Bondarenko Authored: Fri Jul 3 12:53:50 2015 +0300 Committer: Heith Seewald Committed: Wed Jul 22 11:47:57 2015 -0400 ---------------------------------------------------------------------- Allura/allura/controllers/discuss.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/allura/blob/63dbb3df/Allura/allura/controllers/discuss.py ---------------------------------------------------------------------- diff --git a/Allura/allura/controllers/discuss.py b/Allura/allura/controllers/discuss.py index 13fe436..b329b01 100644 --- a/Allura/allura/controllers/discuss.py +++ b/Allura/allura/controllers/discuss.py @@ -89,6 +89,7 @@ class DiscussionController(BaseController, FeedController): if not hasattr(self, 'moderate'): self.moderate = ModerationController(self) + @with_trailing_slash @expose('jinja:allura:templates/discussion/index.html') def index(self, threads=None, limit=None, page=0, count=0, **kw): c.discussion = self.W.discussion