   fetchFeedForHomePage:(callback)->
     # devrim's api
     # should make the selector work
-    selector =
-      type      :
-        $in     : [
-          'CStatusActivity'
-          'CCodeSnipActivity'
-          'CFolloweeBucketActivity'
-          'CNewMemberBucket'
-          # 'COpinionActivity'
-          # THIS WILL DISABLE CODE SHARES/LINKS/DISCUSSIONS
-          'CDiscussionActivity'
-          'CTutorialActivity'
-          # 'CLinkActivity'
-          # 'CCodeShareActivity'
-          'CInstallerBucketActivity'
-        ]
-
-    options =
+    selector        =
+      type          :
+        $in         : allowedActivityTypes
+    options         =
       limit         : 7
       skip          : 0
       sort          :

    CodeSnippetView.on 'CodeSnippetWantsSave', (data)=>
      @saveCodeSnippet data.title, Encoder.htmlDecode data.content

    @currentFilter = [
      'CStatusActivity'
      'CCodeSnipActivity'
      'CFollowerBucketActivity'
      'CNewMemberBucketActivity'
      # 'COpinionActivity'
      # THIS WILL DISABLE CODE SHARES/LINKS/DISCUSSIONS
      'CDiscussionActivity'
      'CTutorialActivity'
      # 'CLinkActivity'
      # 'CCodeShareActivity'
      'CInstallerBucketActivity'
    ]

  saveCodeSnippet:(title, content)->
    # This custom method is used because FS,

      controller._state = 'public'

    else
      @currentFilter = if show? then [show] else allowedActivityTypes

    controller.removeAllItems()
    controller.showLazyLoader no
