Sha256: 4fca40071f85a90da3b9fea459f10142646c578359a4da879fab29ee7551f09d
Contents?: true
Size: 220 Bytes
Versions: 1
Compression:
Stored size: 220 Bytes
Contents
class RespondWithWidgetsController < ApplicationController respond_to :csv def index respond_with WidgetWithOptions.scoped, :style => :full end def show respond_with Widget.find(params[:id]) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
as_csv-1.0.2 | spec/dummy/app/controllers/respond_with_widgets_controller.rb |