diff --git a/lib/acts_as_api/rails_renderer.rb b/lib/acts_as_api/rails_renderer.rb
index <HASH>..<HASH> 100644
--- a/lib/acts_as_api/rails_renderer.rb
+++ b/lib/acts_as_api/rails_renderer.rb
@@ -8,7 +8,7 @@ module ActsAsApi
       ActionController.add_renderer :acts_as_api_jsonp do |json, options|
         json = ActiveSupport::JSON.encode(json) unless json.respond_to?(:to_str)
         json = "#{options[:callback]}(#{json}, #{response.status})" unless options[:callback].blank?
-        self.content_type ||= options[:callback].blank? ? Mime::JSON : Mime::JS
+        self.content_type ||= options[:callback].blank? ? Mime[:json] : Mime[:js]
         self.response_body = json
       end
     end
updates way to access registered mime types