projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7cd05fd
)
no dispatching through MyApp anymore
André Walker [Thu, 11 Aug 2011 14:17:36 +0000 (11:17 -0300)]
lib/Catalyst/Dispatcher.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Dispatcher.pm
b/lib/Catalyst/Dispatcher.pm
index
f63c1a7
..
02c81e0
100644
(file)
--- a/
lib/Catalyst/Dispatcher.pm
+++ b/
lib/Catalyst/Dispatcher.pm
@@
-308,9
+308,6
@@
sub _invoke_as_path {
sub _find_component {
my ( $self, $c, $component ) = @_;
- # fugly, why doesn't ->component('MyApp') work?
- return $c if ($component eq blessed($c));
-
return blessed($component)
? $component
: $c->component($component);