Removes main menu from workflows controller

Usually the main menu is not displayed in admin area. Therefore, it
will be removed with this commit to increase consistency.
This commit is contained in:
Liane Hampe 2023-09-06 10:18:19 +02:00
parent 17ac75f90a
commit c096fa2ed7

View File

@ -22,6 +22,7 @@
class DmsfWorkflowsController < ApplicationController
model_object DmsfWorkflow
menu_item :dmsf_approvalworkflows
self.main_menu = false
before_action :find_model_object, except: %i[create new index assign assignment]
before_action :find_project