 
       when 'static'
        @addStaticLogic callback
+
 
   addActivityLogic:(callback=->)->
     activityController = new ActivityListController

      unless err
        @reviveViewsOnUserLoad user

  addLogic:(type,callback=->)->
      unless @controllers[type]?
        @addLogicForType type, =>
          @controllers[type]?.hideLazyLoader()
          callback()
      else
        @controllers[type]?.hideLazyLoader()
        @showWrapper @wrappers[type]
        callback()

  displaySidebar:(show=yes,delay=250)->
    @utils.wait delay, =>
      @profileContentList["#{if show then '' else 'un'}setClass"] 'has-links'
      @profileContentLinks["#{if show then 'un' else ''}setClass"] 'links-hidden'

  attachListeners:->

    @on 'CommentLinkReceivedClick', (view)=>

        bypass    : yes
      , (err,activities)=>
        @appendActivities err,activities,'activity'


    @controllers['activity'] = activityController
    @wrappers['activity']    = activityListWrapper
