Sha256: 9256ff9068a0b2dcd365adc94cdfdb5eac2723d89ec2c118e77a763fa51a6442
Contents?: true
Size: 344 Bytes
Versions: 7
Compression:
Stored size: 344 Bytes
Contents
module Pwb class Import::WebContentsController < ApplicationApiController # http://localhost:3000/import/translations/multiple def multiple Content.import(params[:file]) return render json: { "success": true }, status: :ok, head: :no_content # redirect_to root_url, notice: "contents imported." end end end
Version data entries
7 entries across 7 versions & 1 rubygems