[Bps-public-commit] App-Changeloggr branch, master, updated. 83aa1a517e85e52a5d6463158f458c112244f959
sartak at bestpractical.com
sartak at bestpractical.com
Fri May 22 17:41:32 EDT 2009
The branch, master has been updated
via 83aa1a517e85e52a5d6463158f458c112244f959 (commit)
from 982119dfd1f88a0f657d9759a91cc1db7cff1278 (commit)
Summary of changes:
lib/App/Changeloggr/View.pm | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 83aa1a517e85e52a5d6463158f458c112244f959
Author: Shawn M Moore <sartak at gmail.com>
Date: Fri May 22 17:41:08 2009 -0400
Don't redirect if there's only one changelog, it hides news
diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 2c7a09d..2dc3f41 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -37,8 +37,6 @@ template '/' => page {
name => 'news',
path => '/news/list',
);
- } elsif ( $count == 1) {
- redirect '/changelog/' . $changelogs->first->name;
} else {
redirect '/admin/create-changelog';
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list