class ForceSSLFlash

Public Instance Methods

set_flash() click to toggle source
# File actionpack/test/controller/force_ssl_test.rb, line 76
def set_flash
  flash["that"] = "hello"
  redirect_to "/force_ssl_flash/cheeseburger"
end
use_flash() click to toggle source
# File actionpack/test/controller/force_ssl_test.rb, line 81
def use_flash
  @flash_copy = {}.update flash
  @flashy = flash["that"]
  render inline: "hello"
end