Basic setup, launch config and layout
This commit is contained in:
parent
535a051755
commit
1a3d172fe5
41 changed files with 382 additions and 105 deletions
|
|
@ -1,2 +1,15 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class ApplicationController < ActionController::Base
|
||||
before_action :initialize_navbar
|
||||
|
||||
private
|
||||
|
||||
def initialize_navbar
|
||||
@navbar_items = [
|
||||
{ label: 'Dashboard', path: :root },
|
||||
{ label: 'Home', path: :home }
|
||||
]
|
||||
@search_url = nil # root_url
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class HomeController < ApplicationController
|
||||
def show
|
||||
end
|
||||
def show; end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue