Diff of /Allura/allura/model/neighborhood.py [c4f76a] .. [9d8474]  Maximize  Restore

Switch to side-by-side view

--- a/Allura/allura/model/neighborhood.py
+++ b/Allura/allura/model/neighborhood.py
@@ -71,7 +71,7 @@
         from .project import Project
         return Project.query.get(
-            shortname='--init--')
+            is_nbhd_project=True)
     def acl(self):
@@ -100,8 +100,7 @@
     def bind_controller(self, controller):
         from allura.controllers.project import NeighborhoodController
         controller_attr = self.url_prefix[1:-1]
-        setattr(controller, controller_attr, NeighborhoodController(
-                self.name, self.shortname_prefix))
+        setattr(controller, controller_attr, NeighborhoodController(self))
     def get_custom_css(self):
         if self.allow_custom_css:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks