Sha256: b778f27835c518a1ce71b999773d9678100e9bdfe53b4ab42d254dc533e82977
Contents?: true
Size: 443 Bytes
Versions: 8
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true 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
8 entries across 8 versions & 1 rubygems