Basic feature implemented, very basic poc
This commit is contained in:
parent
216089a3e7
commit
48c0067076
118 changed files with 2113 additions and 20 deletions
|
|
@ -6,9 +6,12 @@ class ApplicationController < ActionController::Base
|
|||
private
|
||||
|
||||
def initialize_navbar
|
||||
@nav_path = controller_name
|
||||
@navbar_items = [
|
||||
{ label: 'Dashboard', path: :root },
|
||||
{ label: 'Home', path: :home }
|
||||
{ label: 'Dashboard', icon: :speedometer2, path: :root },
|
||||
{ label: Report.model_name.human(count: 2), icon: :'journal-text', path: :reports },
|
||||
{ label: Checklist.model_name.human(count: 2), icon: :'list-check', path: :checklists },
|
||||
{ label: Check.model_name.human(count: 2), icon: :check, path: :checks }
|
||||
]
|
||||
@search_url = nil # root_url
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue