12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'lib/social_stream/rails/common.rb', line 12
def included(base)
base.class_eval do
config.generators.authentication :devise
config.generators.javascript :jquery
config.to_prepare do
%w( actor activity_object ).each do |supertype|
supertype.classify.constantize.load_subtype_features
end
ApplicationController.helper ActivitiesHelper
ApplicationController.helper TiesHelper
end
initializer "social_stream.inflections" do
Common.inflections
end
end
end
|