 
         preventDefault: (ev) ->
             ev.preventDefault()
+
+        toggleShow: (ev)->
+            category = if $(ev.target).hasClass 'public' then 'public' else 'private'
+            app.vent.trigger 'units:render-category', category
+
 
     class ServiceSidebarView extends Backbone.View
         tagName: 'div'

                error: ->
                    # TODO: what happens if no models are found with query?
            )

        fetchAdministrativeDivisions: (params, callback)->
            divisions = new models.AdministrativeDivisionList()

    class TitleBarView extends Backbone.View
        events:
            'click a': 'preventDefault'
            'click .show-button': 'toggleShow'

        initialize: ->
            @listenTo(app.vent, 'administration-divisions-fetched', @render)
