start of iteration 2
Some checks failed
/ Run tests (push) Failing after 1m19s
/ Run system tests (push) Failing after 1m18s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-10-31 23:13:18 +01:00
parent 9fb87a74ce
commit 729ed13521
75 changed files with 705 additions and 170 deletions

View file

@ -8,11 +8,23 @@ Rails.application.routes.draw do
resources :checklist_entries
resources :checklists
resources :checks
resources :elements
resources :link_categories
resources :links
resources :reports
resources :success_criteria
resources :reports, shallow: true, except: %i[show] do
resources :pages do
resources :elements do
resources :success_criteria do
collection do
get "from_checklist", action: :new_from_checklist, as: :new_from_checklist
post "from_checklist", action: :create_from_checklist, as: :create_from_checklist
end
end
end
end
member do
get "(-/:page_id)", action: :show, as: "", constraints: { id: /\d+/ }
end
end
get "backoffice/show", as: :backoffice