Skip to content

Commit

Permalink
Merge pull request #8 from jaredjackson/fix/before_filter
Browse files Browse the repository at this point in the history
Update before_filter deprecation
  • Loading branch information
alexkv authored Nov 16, 2017
2 parents dc44677 + a99aa37 commit f6ff701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_controller/acts/rails_xmlrpc.rb
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ def exposes_xmlrpc_methods(options = {})
configuration = { :method_prefix => nil }
configuration.update(options) if options.is_a?(Hash)

before_filter(:add_method_handlers, :only => [:xe_index])
before_action(:add_method_handlers, :only => [:xe_index])
class_eval <<-EOV
require 'xmlrpc/server'
include ActionController::Acts::RailsXmlrpc::InstanceMethods

0 comments on commit f6ff701

Please sign in to comment.