📜  redirect_back fallback_location root_path rspec - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:40.138000             🧑  作者: Mango

代码示例3
module RedirectBack
  def from(url)
    request.env['HTTP_REFERER'] = url
  end
end