lib/muck_activities.rb in muck-activities-0.1.7 vs lib/muck_activities.rb in muck-activities-0.1.8
- old
+ new
@@ -1,6 +1,7 @@
require 'cgi'
+require 'muck_activities/initialize_routes'
module MuckActivity # :nodoc:
def self.included(base) # :nodoc:
base.extend ActMethods
@@ -67,10 +68,10 @@
end
end
end
+ActionController::Base.send :helper, MuckActivityHelper
ActiveRecord::Base.send(:include, MuckActivity)
ActionController::Base.send(:include, MuckActivity)
-ActionController::Base.send :helper, MuckActivityHelper
I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}') ]
\ No newline at end of file