module

Crit::Routes::Web

Web UI routes module

Handles all web interface routes including repository listing, creation, and file/directory browsing. This module is responsible for rendering HTML pages and handling form submissions.

Class methods

file_path(base_path, file_name)

Helper method to build file paths

@param base_path [String] The base directory path @param file_name [String] The file name to append @return [String] The combined path

Source
setup

Sets up all web routes

Source