Skip to content

Commit

Permalink
Remove dead code from upload example:
Browse files Browse the repository at this point in the history
This is a port of a commit by racke (GH #1329).
  • Loading branch information
xsawyerx authored and Jason A. Crome committed Jun 19, 2019
1 parent 26b83e1 commit 75db8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dancer2/Manual.pod
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ The objects are accessible within the route handlers using the C<upload>
keyword:

post '/upload' => sub {
my $upload = upload('file_input_name'); # upload object
my $upload = upload('file_input_name'); # upload object
$upload->copy_to('Uploads/');
};

Expand Down

0 comments on commit 75db8f9

Please sign in to comment.