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:
parent
99abbc2e2d
commit
6b976433c9
10 changed files with 119 additions and 34 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue