Skip to content

Commit

Permalink
Pass metadata through to Dancer::Plugin::Wiki::Toolkit object.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Oct 18, 2011
1 parent 0e10829 commit 5e0408f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dancer/Plugin/Wiki/Toolkit.pm
Expand Up @@ -155,7 +155,7 @@ register wiki => sub {
$opts{function} ||= 'display';

if ($opts{function} eq 'save') {
return $wiki_tk_obj->modify_page($arg, $opts{content}, $opts{checksum});
return $wiki_tk_obj->modify_page($arg, $opts{content}, $opts{checksum}, $opts{metadata});
}

# display page
Expand Down

0 comments on commit 5e0408f

Please sign in to comment.