Allow all /my URLs

Previously, URLs like /my/activity/posts were denied. This change allows those URLs.
This commit is contained in:
riking
2014-06-14 10:51:06 -07:00
parent 6f8888d405
commit 6e698315d6
3 changed files with 7 additions and 2 deletions

View File

@ -1330,6 +1330,11 @@ describe UsersController do
get :my_redirect, path: "preferences"
response.should be_redirect
end
it "permits forward slashes" do
get :my_redirect, path: "activity/posts"
response.should be_redirect
end
end
end