Sha256: 22883f02a62f0973050e192d1648f57358ca89c3153687fb765a3c5f010f85e7

Contents?: true

Size: 228 Bytes

Versions: 6

Compression:

Stored size: 228 Bytes

Contents

class InvoicesController < ActionController::Base
  def index
    respond_to do |format|
      format.iif {
        render iif: render_to_string(locals: {awesome: "Bender"}),
        filename: 'batman'
      }
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
riif-1.1.0 spec/internal/app/controllers/invoices_controller.rb
riif-1.0.0 spec/internal/app/controllers/invoices_controller.rb
riif-0.9.0 spec/internal/app/controllers/invoices_controller.rb
riif-0.8.0 spec/internal/app/controllers/invoices_controller.rb
riif-0.7.0 spec/internal/app/controllers/invoices_controller.rb
iif-0.6.1 spec/internal/app/controllers/invoices_controller.rb