Initial project structure with some barebones layout, CSS and JS from game-data

This commit is contained in:
2025-08-29 02:44:43 -04:00
parent 4168afe585
commit aab5acafb4
33 changed files with 564 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
# frozen_string_literal: true
require 'sinatra/base'
# BaseController - base modular Sinatra app class
class BaseController < Sinatra::Base
# Register view helpers
require_relative '../helpers'
helpers Helpers
# Set up our view engine
set :views, File.join(settings.root, '/../../views')
end