lib/action_controller/serialization.rb in cheap_ams-0.10.8 vs lib/action_controller/serialization.rb in cheap_ams-0.10.10
- old
+ new
@@ -4,9 +4,12 @@
module Serialization
extend ActiveSupport::Concern
include ActionController::Renderers
+ # Deprecated
+ ADAPTER_OPTION_KEYS = ActiveModel::SerializableResource::ADAPTER_OPTION_KEYS
+
included do
class_attribute :_serialization_scope
self._serialization_scope = :current_user
end