1
0

Preliminary Target :edit support

This commit is contained in:
cryptogopher
2020-08-25 02:55:21 +02:00
parent 8d4e5215b3
commit 6ba8ad5376
4 changed files with 11 additions and 5 deletions

View File

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