Changeset 659 for lang/perl/Gopper
- Timestamp:
- 10/24/07 05:47:05 (6 years ago)
- Location:
- lang/perl/Gopper/trunk/lib
- Files:
-
- 2 added
- 3 modified
-
Gopper.pm (modified) (1 diff)
-
Gopper/Attribute (added)
-
Gopper/Attribute/Handler.pm (added)
-
Gopper/Plugin/Handler.pm (modified) (1 diff)
-
Gopper/Plugin/Handler/Static.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Gopper/trunk/lib/Gopper.pm
r56 r659 63 63 my($self, $stash) = @_; 64 64 return RC_FORBIDDEN unless my $handler = $stash->request->handler; 65 return $handler->handler($self, $stash) || RC_FORBIDDEN; 65 my $handler_method = $handler->handler_method; 66 return $handler->$handler_method($self, $stash) || RC_FORBIDDEN; 66 67 } 67 68 -
lang/perl/Gopper/trunk/lib/Gopper/Plugin/Handler.pm
r56 r659 6 6 use base 'Gopper::Plugin'; 7 7 8 sub handler_method { 9 my $self = shift; 10 $self->{handler_method} = defined $_[0] ? $_[0] : $self->{handler_method}; 11 } 12 8 13 1; -
lang/perl/Gopper/trunk/lib/Gopper/Plugin/Handler/Static.pm
r56 r659 30 30 } 31 31 32 sub handler {32 sub send_context : Handler { 33 33 my($self, $c, $stash) = @_; 34 34
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)