Permalink
Browse files

Merge pull request #22 from theozaurus/master

Fix: Switched from 'register_alias' to 'register' so that the 'RequestFilter' works as expected
  • Loading branch information...
2 parents 443d137 + 9a7bc57 commit 8ddf121ca5746a1ec3aed94af69ab470680fd0ae @stevegraham committed Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/railtie.rb
View
@@ -26,7 +26,7 @@ def self.call(template)
ActionController::Base.class_eval { before_filter Twilio::RequestFilter }
::ActionView::Template.register_template_handler(:voice, ActionView::Template::Handlers::TwiML)
- ::Mime::Type.register_alias 'text/xml', :voice
+ ::Mime::Type.register 'text/xml', :voice
end
end
end

0 comments on commit 8ddf121

Please sign in to comment.