projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't break the calling convention for the run method by making the server the last...
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
ScriptRole.pm
diff --git
a/lib/Catalyst/ScriptRole.pm
b/lib/Catalyst/ScriptRole.pm
index
af47fd2
..
e36ca2f
100644
(file)
--- a/
lib/Catalyst/ScriptRole.pm
+++ b/
lib/Catalyst/ScriptRole.pm
@@
-72,7
+72,7
@@
sub _run_application {
else {
$server = Plack::Loader->auto($self->_plack_loader_args);
}
- $app->run($server, $self->_application_args);
+ $app->run($self->_application_args, $server);
}
1;