Skip to content

Commit

Permalink
use ActionController::Instrumentation instead of ActionController::Acts
Browse files Browse the repository at this point in the history
  • Loading branch information
mnin committed Aug 2, 2010
1 parent b23c23b commit e7bf637
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
$:.unshift "#{File.dirname(__FILE__)}/lib"
ActionController::Base.send(:include, ActionController::Acts::XmlrpcEndpoint )
ActionController::Base.send(:include, ActionController::Instrumentation::XmlrpcEndpoint )
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ActionController
module Acts
module Instrumentation
module XmlrpcEndpoint
def self.included(controller)
controller.extend(ClassMethods)
Expand All @@ -13,7 +13,7 @@ def exposes_xmlrpc_methods(options = {})
before_filter(:add_method_handlers, :only => [:xe_index])
class_eval <<-EOV
require 'xmlrpc/server'
include ActionController::Acts::XmlrpcEndpoint::InstanceMethods
include ActionController::Instrumentation::XmlrpcEndpoint::InstanceMethods
def xe_method_prefix
'#{configuration[:method_prefix]}'
Expand Down

0 comments on commit e7bf637

Please sign in to comment.