Sha256: aa9e20e80fd2c31de4882158b16d1a0f9f03f9ba874847677683aad314b38500

Contents?: true

Size: 350 Bytes

Versions: 12

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

class OptionBlocksController < ApplicationController

  def first
    DHS::OptionBlocks::CurrentOptionBlock.options = { params: { request: 'first' } }
    DummyRecord.where(request: 'second').fetch
    render text: 'ok'
  end

  def second
    DummyRecord.where(request: 'second').fetch
    render text: 'ok'
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dhs-1.6.0 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.5.0 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.4.2 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.4.1 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.4.0 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.3.0 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.2.0 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.1.0 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.0.3 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.0.2 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.0.1 spec/dummy/app/controllers/option_blocks_controller.rb
dhs-1.0.0 spec/dummy/app/controllers/option_blocks_controller.rb