mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
Support for both /users/
and /u/
paths
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user