[Bps-public-commit] Prophet branch, master, updated. 0.73-17-g0d587aa

jesse jesse at bestpractical.com
Wed Nov 18 12:02:24 EST 2009


The branch, master has been updated
       via  0d587aa1378090b5039124bbbb370873972f2d82 (commit)
      from  f62b1762e729320b815abf660b7d942eb8c80b7d (commit)

Summary of changes:
 lib/Prophet/Web/Menu.pm |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 0d587aa1378090b5039124bbbb370873972f2d82
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Nov 18 12:02:10 2009 -0500

    propagate "server" into child menus

diff --git a/lib/Prophet/Web/Menu.pm b/lib/Prophet/Web/Menu.pm
index 1a0f8bf..fd41616 100644
--- a/lib/Prophet/Web/Menu.pm
+++ b/lib/Prophet/Web/Menu.pm
@@ -12,7 +12,11 @@ has url => ( isa => 'Str', is => 'bare');
 has target => ( isa => 'Str', is => 'rw');
 has class => ( isa => 'Str', is => 'rw');
 has escape_label => ( isa => 'Bool', is => 'rw');
-has server => (isa => 'Prophet::Server', is => 'ro', weak_ref => 1);
+has server => (isa => 'Prophet::Server', 
+			   is => 'ro', 
+			   weak_ref => 1,
+			   
+			   );
 
 
 =head1 NAME
@@ -145,6 +149,7 @@ sub child {
                                                           || scalar values %{$self->{children}}),
                                                label => $key,
                                                escape_label => 1,
+											   server => $self->server,
                                                @_
                                              });
         

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



More information about the Bps-public-commit mailing list