Sha256: c8ab5389c40ceccbe3e9da6a30443d4d93bf17f2a503b78c1fd271fc3dae0fe0

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

class PagesController < ApplicationController

  layout 'integration_test'

  # def start
  #   cookies['baram'] = { value: 'baz;bam', expires: 2.days.from_now }
  # end
  #
  def one
    redirect_to '/pages/two'
  end

  def two
    render text: "This is two. Header X-Foo is #{request.headers['X-Foo']}"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unpoly-rails-1.0.3 spec_app/app/controllers/pages_controller.rb