Add auth and ruby update
This commit is contained in:
parent
5d50194f39
commit
fbf6923835
43 changed files with 614 additions and 64 deletions
12
app/controllers/concerns/backoffice_menu.rb
Normal file
12
app/controllers/concerns/backoffice_menu.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
module BackofficeMenu
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
def initialize_sidebar_items
|
||||
[
|
||||
{ label: "Einstellungen", icon: :sliders, path: :backoffice },
|
||||
{ label: Checklist.model_name.human(count: 2), icon: :'list-check', path: :checklists },
|
||||
{ label: Check.model_name.human(count: 2), icon: :check2, path: :checks },
|
||||
{ label: Link.model_name.human(count: 2), icon: :link, path: :links },
|
||||
{ label: LinkCategory.model_name.human(count: 2), icon: :folder, path: :link_categories } ]
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue