summaryrefslogtreecommitdiff
path: root/doc/administration/maintenance_mode/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/administration/maintenance_mode/index.md')
-rw-r--r--doc/administration/maintenance_mode/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/administration/maintenance_mode/index.md b/doc/administration/maintenance_mode/index.md
index 37415468517..7664c7c1751 100644
--- a/doc/administration/maintenance_mode/index.md
+++ b/doc/administration/maintenance_mode/index.md
@@ -60,7 +60,7 @@ There are three ways to disable Maintenance Mode:
- [**Rails console**](../operations/rails_console.md#starting-a-rails-console-session):
```ruby
- ::Gitlab::CurrentSettings.update_attributes!(maintenance_mode: false)
+ ::Gitlab::CurrentSettings.update!(maintenance_mode: false)
```
## Behavior of GitLab features in Maintenance Mode