Skip to content

Commit 667335b

Browse files
committed
Removes main menu from custom_message_settings_controller
Usually the main menu is not displayed in admin area. Therefore, it will be removed with this commit to increase consistency.
1 parent 5043c79 commit 667335b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/controllers/custom_message_settings_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
class CustomMessageSettingsController < ApplicationController
22
layout 'admin'
33
menu_item :custom_messages
4+
self.main_menu = false
45
before_action :require_admin, :set_custom_message_setting, :set_lang
56
require_sudo_mode :edit, :update, :toggle_enabled, :default_messages
67

0 commit comments

Comments
 (0)