Sha256: eb34295d8f1861d46659d008f98c4481c378903c1dbb9057229677d21d3a9150
Contents?: true
Size: 343 Bytes
Versions: 88
Compression:
Stored size: 343 Bytes
Contents
class UploadsController < ApplicationController caches_page :index def create headers["Content-Type"] = "text/plain" render :text => "name 1 = " + params[:upload][:name1] + "\n" + "name 2 = " + params[:upload][:name2] + "\n" + "data = " + params[:upload][:data].read end def single render :text => params[:foo] end end
Version data entries
88 entries across 88 versions & 7 rubygems