Commit 68f06a1a authored by Luke Duncalfe's avatar Luke Duncalfe

Move a mattermost file to help Rails autoload

Moving the file from `lib/mattermost/error.rb` to `lib/mattermost.rb`
aids Rails in autoloading the module and classes within it.

This was necessary after the `MattermostService` model was renamed to
`Integrations::Mattermost` and therefore the file to be named
`integrations/mattermost.rb` which Rails was attempting to autoload.

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61957#note_588568064
parent a91d9bc6
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment