[Bps-public-commit] App-Changeloggr branch, master, updated. 0da63f7d846f8d062ddeafd71613b5d56ebc68e5

sartak at bestpractical.com sartak at bestpractical.com
Wed May 20 19:37:16 EDT 2009


The branch, master has been updated
       via  0da63f7d846f8d062ddeafd71613b5d56ebc68e5 (commit)
      from  65c754cffca159c54a571233d407e1854dc42632 (commit)

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

- Log -----------------------------------------------------------------
commit 0da63f7d846f8d062ddeafd71613b5d56ebc68e5
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed May 20 19:37:10 2009 -0400

    Need to actually render the change_id

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 1b00549..cf65234 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -252,15 +252,11 @@ sub show_vote_form {
 sub show_rewording_form {
     my $change = shift;
 
-    my $create_rewording = new_action(
-        class     => "CreateRewording",
-        arguments => {
-            change_id => $change->id,
-        },
-    );
+    my $create_rewording = new_action('CreateRewording');
 
     p { "Do you want to improve the content or wording of this change's message?" };
 
+    render_hidden $create_rewording => 'change_id' => $change->id;
     render_param $create_rewording => (
         'message',
         label => '',

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



More information about the Bps-public-commit mailing list