Sha256: f4ae9726a8b3eec22e35421f38137dad6d6eea5bbca3c139142714b5bb2d4ed8
Contents?: true
Size: 308 Bytes
Versions: 13
Compression:
Stored size: 308 Bytes
Contents
class SiteController < ApplicationController def report @report = PostReport.new(params.fetch(:post_report, {})) @csv = ActiveReporter::Serializer::Csv.new(@report) respond_to do |format| format.html format.csv { send_data(csv.csv_text, filename: csv.filename) } end end end
Version data entries
13 entries across 13 versions & 1 rubygems