10 11 12 13 14
# File 'lib/opinio/controllers/replies.rb', line 10 def reply @commentable_type = Opinio.model_name @commentable_id = params[:id] @commentable = Opinio.model_name.constantize.find(params[:id]) end