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:
parent
17ac75f90a
commit
c096fa2ed7
@ -22,6 +22,7 @@
|
|||||||
class DmsfWorkflowsController < ApplicationController
|
class DmsfWorkflowsController < ApplicationController
|
||||||
model_object DmsfWorkflow
|
model_object DmsfWorkflow
|
||||||
menu_item :dmsf_approvalworkflows
|
menu_item :dmsf_approvalworkflows
|
||||||
|
self.main_menu = false
|
||||||
|
|
||||||
before_action :find_model_object, except: %i[create new index assign assignment]
|
before_action :find_model_object, except: %i[create new index assign assignment]
|
||||||
before_action :find_project
|
before_action :find_project
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user