Switch to unified view

a/Allura/allura/app.py b/Allura/allura/app.py
...
...
174
        is 'production'.
174
        is 'production'.
175
    :cvar bool searchable: If True, show search box in the left menu of this
175
    :cvar bool searchable: If True, show search box in the left menu of this
176
        Application. Default is True.
176
        Application. Default is True.
177
    :cvar list permissions: Named permissions used by instances of this
177
    :cvar list permissions: Named permissions used by instances of this
178
        Application. Default is [].
178
        Application. Default is [].
179
    :cvar list sitemap: :class:`SitemapEntries <allura.app.SitemapEntry>`
180
        used to create the Application's navigation in the main project nav.
181
        Default is [].
182
    :cvar bool installable: Default is True, Application can be installed in
179
    :cvar bool installable: Default is True, Application can be installed in
183
        projects.
180
        projects.
184
    :cvar bool hidden: Default is False, Application is not hidden from the
181
    :cvar bool hidden: Default is False, Application is not hidden from the
185
        list of a project's installed tools.
182
        list of a project's installed tools.
186
    :cvar str tool_description: Text description of this Application.
183
    :cvar str tool_description: Text description of this Application.
...
...
209
    status = 'production'
206
    status = 'production'
210
    script_name = None
207
    script_name = None
211
    root = None  # root controller
208
    root = None  # root controller
212
    api_root = None
209
    api_root = None
213
    permissions = []
210
    permissions = []
214
    sitemap = []
215
    installable = True
211
    installable = True
216
    searchable = False
212
    searchable = False
217
    DiscussionClass = model.Discussion
213
    DiscussionClass = model.Discussion
218
    PostClass = model.Post
214
    PostClass = model.Post
219
    AttachmentClass = model.DiscussionAttachment
215
    AttachmentClass = model.DiscussionAttachment
...
...
240
236
241
        """
237
        """
242
        self.project = project
238
        self.project = project
243
        self.config = app_config_object
239
        self.config = app_config_object
244
        self.admin = DefaultAdminController(self)
240
        self.admin = DefaultAdminController(self)
241
242
    @LazyProperty
243
    def sitemap(self):
244
        """Return a list of :class:`SitemapEntries <allura.app.SitemapEntry>`
245
        describing the page hierarchy provided by this Application.
246
247
        If the list is empty, the Application will not be displayed in the
248
        main project nav bar.
249
250
        """
251
        return [SitemapEntry(self.config.options.mount_label, '.')]
245
252
246
    @LazyProperty
253
    @LazyProperty
247
    def url(self):
254
    def url(self):
248
        """Return the URL for this Application.
255
        """Return the URL for this Application.
249
256