提交 1c5402ec 编写于 作者: J Justin Collins

Test for redirect with url_for

上级 43ba1dea
......@@ -64,6 +64,11 @@ class HomeController < ApplicationController
RandomClass.load params[:file]
end
def test_redirect_with_url_for
url = url_for(params)
redirect_to url
end
private
def filter_it
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册