moving stuff around
This commit is contained in:
parent
1d2439ee76
commit
01fd1f23c7
11 changed files with 5 additions and 15 deletions
|
|
@ -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", 'streams', "aspect_stream")
|
||||
require File.join(Rails.root, "lib", 'stream', "aspect_stream")
|
||||
|
||||
class AspectsController < ApplicationController
|
||||
before_filter :authenticate_user!
|
||||
|
|
|
|||
|
|
@ -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','streams', 'mention_stream')
|
||||
require File.join(Rails.root, 'lib','stream', 'mention_stream')
|
||||
|
||||
class MentionsController < ApplicationController
|
||||
before_filter :authenticate_user!
|
||||
|
|
|
|||
|
|
@ -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', 'streams', 'tag_stream')
|
||||
require File.join(Rails.root, 'lib', 'stream', 'tag_stream')
|
||||
|
||||
class TagFollowingsController < ApplicationController
|
||||
before_filter :authenticate_user!
|
||||
|
|
|
|||
|
|
@ -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 AspectStream < BaseStream
|
||||
TYPES_OF_POST_IN_STREAM = ['StatusMessage', 'Reshare', 'ActivityStreams::Photo']
|
||||
|
||||
|
|
@ -1,17 +1,8 @@
|
|||
# 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
|
||||
|
||||
|
||||
# @param user [User]
|
||||
# @param inputted_aspect_ids [Array<Integer>] Ids of aspects for given stream
|
||||
# @param aspect_ids [Array<Integer>] Aspects this stream is responsible for
|
||||
# @opt max_time [Integer] Unix timestamp of stream's post ceiling
|
||||
# @opt order [String] Order of posts (i.e. 'created_at', 'updated_at')
|
||||
# @return [void]
|
||||
|
||||
def link(opts={})
|
||||
Rails.application.routes.url_helpers.mentions_path(opts)
|
||||
end
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
# licensed under the Affero General Public License version 3 or later. See
|
||||
# the COPYRIGHT file.
|
||||
|
||||
require 'base_stream'
|
||||
class TagStream < BaseStream
|
||||
|
||||
def link(opts={})
|
||||
Loading…
Reference in a new issue