public
Description: a ruby on rails plugin to create and display a social feed
Homepage: http://upstream-berlin.com/blog/open-source/#social_feed
Clone URL: git://github.com/langalex/social_feed.git
social_feed / init.rb
100644 10 lines (6 sloc) 0.302 kb
1
2
3
4
5
6
7
8
9
10
require 'object_extensions'
 
# configuration
require 'ostruct'
SocialFeed::Conf = OpenStruct.new YAML::load(File.read(RAILS_ROOT + '/config/social_feed.yml'))
 
 
ActionController::Base.helper(SocialFeed::SocialFeedHelper)
 
ActionController::Routing::RouteSet::Mapper.send(:include, SocialFeed::Routing)