public
Description: ActivityStreams is a Rails Plug-in providing a customizable framework for cataloging and publishing user activity and social objects.
Homepage: http://matsonsystems.com/activity-streams/
Clone URL: git://github.com/face/activity_streams.git
Christos Pappas (author)
Tue Jun 30 17:50:15 -0700 2009
commit  69f3f76a0429a28f0becb71b64e7f929bf28a027
tree    584707e6b4a9f8cb683986660469a4ed92d46188
parent  9c10377dbf0496281414811845ee6f86b5b61d1b
activity_streams / init.rb
100644 20 lines (17 sloc) 0.585 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#--
# Copyright (c) 2008 Matson Systems, Inc.
# Released under the BSD license found in the file
# LICENSE included with this ActivityStreams plug-in.
#++
# Activity Streams Intitialization
require 'activity_streams'
 
ActionController::Base.append_view_path(File.join(File.dirname(__FILE__), "views"))
 
models_path = File.join(directory, 'lib', 'models')
$LOAD_PATH << models_path
if Rails::VERSION::MAJOR >= 2 &&
   Rails::VERSION::MINOR >= 1 &&
   Rails::VERSION::TINY >= 0
  ActiveSupport::Dependencies.load_paths << models_path
else
  Dependencies.load_paths << models_path
end