[guadec-web-regcfp/develop] public-by-default



commit 118514ce356239c02c2c5082237208e798975692
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date:   Mon Jun 22 12:35:13 2015 +0200

    public-by-default

 routes/registration.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/routes/registration.js b/routes/registration.js
index b0db943..1df61a0 100644
--- a/routes/registration.js
+++ b/routes/registration.js
@@ -210,7 +210,7 @@ router.get('/register', function(req, res, next) {
                                             ask_regfee: reg == null});
     });
   } else {
-    res.render('registration/register', { registration: null, ask_regfee: true });
+    res.render('registration/register', { registration: {is_public: true}, ask_regfee: true });
   };
 });
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]