]> iEval git - gruntmaster-handlers.git/commitdiff
Generate user list and user pages
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 25 Jan 2014 20:24:21 +0000 (22:24 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 25 Jan 2014 20:24:21 +0000 (22:24 +0200)
lib/Gruntmaster/Handlers.pm

index dec98dcc23c9113e357ee389cede24a47fc98ce4..c88f3289e878353438c5f1a64ad6fa327e1059df 100644 (file)
@@ -78,6 +78,8 @@ sub register{
 
        insert_user $username, name => $name, email => $email, phone => $phone, town => $town, university => $university, level => $level;
 
+       PUBLISH genpage =>  "us/index.html";
+       PUBLISH genpage =>  "us/$username.html";
        aputs $r, 'Registered successfully';
 }
 
This page took 0.020401 seconds and 4 git commands to generate.