- Book-styled UI with parchment aesthetic and Russian navigation - Characters model with Konva.js 2D canvas drawing (draggable shapes) - StoryPages model with character association and page navigation - Stimulus controllers: canvas (editor) + canvas-preview (read-only) - Full Russian interface: all labels, buttons, flash messages in Russian
15 lines
427 B
Ruby
15 lines
427 B
Ruby
# frozen_string_literal: true
|
|
|
|
Rails.application.routes.draw do
|
|
get "up" => "rails/health#show", as: :rails_health_check
|
|
|
|
# Render dynamic PWA files from app/views/pwa/*
|
|
get "manifest" => "rails/pwa#manifest", as: :pwa_manifest
|
|
get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker
|
|
|
|
resources :story_pages, path: "stranitsy"
|
|
resources :characters, path: "personazhi"
|
|
|
|
root "books#index"
|
|
end
|