2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00

Support for both /users/ and /u/ paths

This commit is contained in:
Robin Ward 2017-03-27 15:34:54 -04:00
parent 99abbc2e2d
commit 6b976433c9
10 changed files with 119 additions and 34 deletions

View file

@ -13,7 +13,7 @@ describe EmailController do
it 'redirects to your user preferences' do
get :preferences_redirect
expect(response).to redirect_to("/users/#{user.username}/preferences")
expect(response).to redirect_to("/u/#{user.username}/preferences")
end
end