1
0

Test pass: test_edit

This commit is contained in:
cryptogopher
2021-01-24 15:05:54 +01:00
parent 8bd102f8de
commit cb4c528908
6 changed files with 53 additions and 4 deletions

View File

@@ -12,9 +12,10 @@ resources :projects, shallow: true do
post 'toggle_exposure', to: 'targets#toggle_exposure'
end
end
resources :targets, except: [:show, :edit] do
resources :targets, except: [:show, :edit, :update] do
collection do
get 'edit/:date', to: 'targets#edit', as: :edit
patch :update
post 'reapply/:date', to: 'targets#reapply', as: :reapply
end
end