Permalink
Browse files

Merge branch 'review/pjcj/devel' into devel

  • Loading branch information...
2 parents a2adda3 + 05c443f commit 4b69024962b3f5ff0c96782cd53f902e91147da0 Alexis Sukrieh committed Mar 23, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 CHANGES
  2. +2 −2 lib/Dancer/Deployment.pod
View
@@ -15,6 +15,8 @@
[ DOCUMENTATION ]
* Explain in POD that if there are multiple fields with the same name,
params('fieldname') returns an arrayref of them (alexrj).
+ * GH #750: Fix in Dancer::Deployment: appdir needs to be set before calling
+ load_app (Paul Johnson)
[ ENHANCEMENTS ]
* Added 'strict_config' option to have the config return an object instead
@@ -179,8 +179,8 @@ Start by creating a simple app.psgi file:
my $app1 = sub {
my $env = shift;
local $ENV{DANCER_APPDIR} = '/Users/franck/tmp/app1';
- load_app "app1";
setting appdir => '/Users/franck/tmp/app1';
+ load_app "app1";
Dancer::App->set_running_app('app1');
Dancer::Config->load;
my $request = Dancer::Request->new( env => $env );
@@ -190,8 +190,8 @@ Start by creating a simple app.psgi file:
my $app2 = sub {
my $env = shift;
local $ENV{DANCER_APPDIR} = '/Users/franck/tmp/app2';
- load_app "app2";
setting appdir => '/Users/franck/tmp/app2';
+ load_app "app2";
Dancer::App->set_running_app('app2');
Dancer::Config->load;
my $request = Dancer::Request->new( env => $env );

0 comments on commit 4b69024

Please sign in to comment.