Commit graph

9 commits

Author SHA1 Message Date
Dmitriy Zaporozhets
7061131676
Refactor namespace regex
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-11-07 18:40:57 +02:00
Robert Speicher
285172c33c Merge branch 'dz-rename-user-routes' into 'master'
Rename users routing from /u/:username to /users/:username for
consistency with other routes

Renames /u/:username to /users/:username

To follow consistency with other routes (like groups) and
UsersController name.
Now when you can use `/:username` for accessing user page there is no
need in shortcut like `/u/`

See merge request !6851
2016-10-17 20:47:46 +02:00
Dmitriy Zaporozhets
a5f5c02598 Add todo for deprecated user routes and more information about deprecation to changelog
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-17 20:34:56 +02:00
Bryce Johnson
568a405ce4 Add exists to users routes and fix endpoint. 2016-10-15 08:28:55 +02:00
Dmitriy Zaporozhets
2c5a95cbeb
Rename users routing from /u/:username to /users/:username for consistency with other routes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-12 18:49:41 +03:00
Stan Hu
e72f2cfcb2 Fix missing constraints causing route failures when usernames with periods are used
Closes #23131
2016-10-08 09:58:25 -07:00
Dmitriy Zaporozhets
6b90ccb9fd Change user & group landing page routing from /u/:name & /groups/:name to /:name
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-06 19:50:48 +03:00
Dmitriy Zaporozhets
b3151828e7
Put user keys routing back below project routing
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-05 16:05:26 +03:00
Dmitriy Zaporozhets
f223a41660
Split routes on multiple files
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-05 15:21:27 +03:00