Basic setup, launch config and layout

This commit is contained in:
David Schärer 2024-07-15 14:31:54 +02:00
parent 535a051755
commit 1a3d172fe5
41 changed files with 382 additions and 105 deletions

View file

@ -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

View file

@ -1,4 +1,5 @@
# frozen_string_literal: true
class HomeController < ApplicationController
def show
end
def show; end
end