Sha256: 6917a1955afd6a03b03f933767dab87a8d8da733e894dc47d690a5b91ae10466
Contents?: true
Size: 427 Bytes
Versions: 6
Compression:
Stored size: 427 Bytes
Contents
module ActsAsVotable module Extenders module Controller def voter_params(params_object = params[:vote]) params_object.permit(:votable_id, :votable_type, :voter_id, :voter_type, :votable, :voter, :vote_flag, :vote_scope) end def votable_params(params_object = params[:vote]) params_object.permit(:vote_registered) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems