Sha256: 07e7acabd4770e7f480e6d9aaf65e3c97a22cfc901a5cfe3045e9a3a3987d77d
Contents?: true
Size: 422 Bytes
Versions: 1
Compression:
Stored size: 422 Bytes
Contents
module ActsAsSaveable module Extenders module Controller def saver_params(params_object = params[:saved]) params_object.permit(:saveable_id, :saveable_type, :saver_id, :saver_type, :saveable, :saver, :save_flag, :save_scope) end def saveable_params(params_object = params[:saved]) params_object.permit(:save_registered) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_saveable-0.10.1 | lib/acts_as_saveable/extenders/controller.rb |