 
     @on 'ActivityLinkClicked', (callback=->)=>
       @addLogic 'activity'
-      # @showLoadingBar()
       @emit 'StaticProfileNavLinkClicked', 'CBlogPostActivity', 'activity', =>
         @showWrapper @wrappers['activity']
         @displaySidebar yes

      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)=>


      when 'static'
       @addStaticLogic callback


  addActivityLogic:(callback=->)->
    activityController = new ActivityListController
