diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-22 21:07:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-22 21:07:27 +0300 |
commit | 0c6f357040350390191b975c864064b027ec1026 (patch) | |
tree | e546c504086b9ca84fbdf297de302a864d976bf1 /doc/development/gotchas.md | |
parent | b52aefb5996cdd22dc969161d414244a59046e6e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/gotchas.md')
-rw-r--r-- | doc/development/gotchas.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/gotchas.md b/doc/development/gotchas.md index 25651639170..54e74d1e8bc 100644 --- a/doc/development/gotchas.md +++ b/doc/development/gotchas.md @@ -221,7 +221,7 @@ Assets that need to be served to the user are stored under the `app/assets` dire However, you cannot access the content of any file from within `app/assets` from the application code, as we do not include that folder in production installations as a [space saving measure](https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/ca049f990b223f5e1e412830510a7516222810be). ```ruby -support_bot = User.support_bot +support_bot = Users::Internal.support_bot # accessing a file from the `app/assets` folder support_bot.avatar = Rails.root.join('app', 'assets', 'images', 'bot_avatars', 'support_bot.png').open |