projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added restart directory option to test server
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Component.pm
diff --git
a/lib/Catalyst/Component.pm
b/lib/Catalyst/Component.pm
index
5f1e83a
..
1b601fe
100644
(file)
--- a/
lib/Catalyst/Component.pm
+++ b/
lib/Catalyst/Component.pm
@@
-102,8
+102,7
@@
sub config {
my $self = shift;
my $config = $self->_config;
unless ($config) {
- $self->_config( {} );
- $config = {};
+ $self->_config( $config = {} );
}
if (@_) {
$config = { %{$config}, %{@_ > 1 ? {@_} : $_[0]} };