clean up stream directory structure

This commit is contained in:
Maxwell Salzberg 2011-10-02 09:46:05 -07:00
parent 8fa02584c0
commit 1d2439ee76
11 changed files with 15 additions and 4 deletions

View file

@ -2,7 +2,7 @@
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
require File.join(Rails.root, "lib", "aspect_stream")
require File.join(Rails.root, "lib", 'streams', "aspect_stream")
class AspectsController < ApplicationController
before_filter :authenticate_user!

View file

@ -1,4 +1,9 @@
require File.join(Rails.root, '/lib/mention_stream')
# Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
require File.join(Rails.root, 'lib','streams', 'mention_stream')
class MentionsController < ApplicationController
before_filter :authenticate_user!
before_filter :save_sort_order, :only => :index

View file

@ -1,4 +1,9 @@
require File.join(Rails.root, '/lib/tag_stream')
# Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
#
require File.join(Rails.root, 'lib', 'streams', 'tag_stream')
class TagFollowingsController < ApplicationController
before_filter :authenticate_user!
before_filter :save_sort_order, :only => :index

View file

@ -1,7 +1,7 @@
# Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
require 'base_stream'
class MentionStream< BaseStream

View file

@ -2,6 +2,7 @@
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
require 'base_stream'
class TagStream < BaseStream
def link(opts={})