mirror of
https://github.com/discourse/discourse.git
synced 2025-04-02 20:52:46 +08:00

In some admin user controller extensions, @user is used to derive certain values. The grant_admin method requires @user as well, so we are adding it here. This is tested in the plugin that it is used in.