mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Record history for ADs and inspection types (applicability links and changes), with restore
Shared records keep applicability in join tables, so linking to the airframe or a component, unlinking, edits to the shared record and a component's deletion are now appended to each affected aircraft's hash chain. Owners can restore a removed link from Activity -> Record history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d5d06d4169
commit
ba0455b149
10 files changed
+164
-7
No files matched your search
+3
-1
@@ -109,7 +109,9 @@ Rails.application.routes.draw do
|
||||
resource :export, controller: "aircraft_exports", only: :show
|
||||
resource :report, controller: "maintenance_reports", only: :show
|
||||
resource :records_package, path: "records", only: :show
|
||||
resources :record_versions, path: "history", only: :index
|
||||
resources :record_versions, path: "history", only: :index do
|
||||
member { post :restore }
|
||||
end
|
||||
resources :events, only: :index
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user