[Bps-public-commit] App-Changeloggr branch, master, updated. 51f3e7a70cb20dd0ee2a60811308c7912d5d2204

sartak at bestpractical.com sartak at bestpractical.com
Wed Aug 5 19:27:13 EDT 2009


The branch, master has been updated
       via  51f3e7a70cb20dd0ee2a60811308c7912d5d2204 (commit)
      from  f7d06589b23520834c19cd946eb7df612113a9aa (commit)

Summary of changes:
 lib/App/Changeloggr/View.pm |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

- Log -----------------------------------------------------------------
commit 51f3e7a70cb20dd0ee2a60811308c7912d5d2204
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Aug 5 19:27:04 2009 -0400

    No longer need show_voting_form

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 6df9a0b..6ea66a9 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -110,7 +110,7 @@ template '/vote-on-change' => sub {
     my $changelog = M('Changelog', id => get('changelog'));
     my $change = $changelog->choose_change;
     if ($change) {
-        show_change($change, voting_form => 1);
+        show_change($change);
     } else {
         my $has_changes = $changelog->changes->count;
         h2 { "No changes " . ($has_changes ? "left " : "") . " in this log" };
@@ -153,7 +153,6 @@ sub changelog_summary {
 
 sub show_change {
     my $change = shift;
-    my %args = @_;
 
     my $id = $change->id;
 
@@ -236,10 +235,8 @@ sub show_change {
             }
         }
 
-        if ($args{voting_form}) {
-            hr {};
-            show_rewording_form($change);
-        }
+        hr {};
+        show_rewording_form($change);
     };
 }
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list