Anton Khorev
|
b8247478f4
|
Use resourceful routes for granting/revoking user roles
|
2024-11-06 18:38:26 +03:00 |
|
Amir E. Aharoni
|
0d650217f4
|
Consistent use of quotes
Most strings used single quotes, and a few used
opening backticks. Now it's single quotes everywhere.
|
2024-10-26 11:39:52 -04:00 |
|
Anton Khorev
|
fa00a38664
|
Shorten user path helper calls in tests
|
2024-03-19 07:07:00 +03:00 |
|
Tom Hughes
|
f75eb6fe9e
|
Refactor more controller tests
|
2020-04-27 22:24:28 +01:00 |
|
Andy Allan
|
a3a10237f7
|
Use CanCanCan for user_roles auth
|
2018-11-28 21:39:26 +01:00 |
|
Andy Allan
|
3ec67ea2d3
|
Rename user_controller to users_controller
|
2018-10-03 15:31:10 +02:00 |
|
Andy Allan
|
4dd4831c0a
|
Just pass the user object, rather than the display_name, to the user_path helper
|
2018-09-10 10:54:29 +08:00 |
|
mmd-osm
|
e21c967fdd
|
Revoking administrator role on current user should fail
Fixes #1697
Closes #1701
|
2017-12-19 17:31:34 +00:00 |
|
Tom Hughes
|
03408b6294
|
Update get/post etc to remove use of deprecated syntax
|
2017-06-27 08:26:44 +01:00 |
|
Andy Allan
|
eac26c9a2c
|
Create a super_user factory.
|
2017-03-09 16:21:51 +00:00 |
|
Andy Allan
|
f1397f4700
|
Use user factory for user_roles_controller tests.
|
2017-03-06 16:55:05 +00:00 |
|
Tom Hughes
|
dc2a2c8ebd
|
Standardise on double quoted strings
|
2015-02-20 19:47:26 +00:00 |
|
Tom Hughes
|
ef7f3d800c
|
Fix most auto-correctable rubocop issues
|
2015-02-20 08:56:16 +00:00 |
|
Tom Hughes
|
98184dfb9c
|
Reorganise tests to match modern rails test layout
|
2014-02-26 00:13:19 +00:00 |
|