websetup form display done
[ikiwiki.git] / IkiWiki / Plugin / attachment.pm
index bd21ed1edd4549b2ba99ecbc85c620477b84b40c..27f984c299870b112600b054b7ab0062b3e44612 100644 (file)
@@ -22,7 +22,7 @@ sub getsetup () { #{{{
                        rebuild => 0,
                },
                allowed_attachments => {
-                       type => "string",
+                       type => "pagespec",
                        example => "mimetype(image/*) and maxsize(50kb)",
                        description => "enhanced PageSpec specifying what attachments are allowed",
                        description_html => htmllink("", "",