Sha256: 40cba4a551c55ced6ce38882de05a92a9c413d2a20a9ac9ec13ee98a63f87b6f
Contents?: true
Size: 402 Bytes
Versions: 8
Compression:
Stored size: 402 Bytes
Contents
class PageletProxyController < ::ApplicationController include ActionController::Live include PageletsHelper def show @urls = params[:urls] response.headers['Content-Type'] = 'text/javascript' response.stream.write "\n" @urls.each do |url| response.stream.write pagelet(url) response.stream.write "\n\n//\n\n" end ensure response.stream.close end end
Version data entries
8 entries across 8 versions & 1 rubygems