created action for attendance-button
This commit is contained in:
parent
bd0cfb99bc
commit
522f0b31d9
3 changed files with 23 additions and 4 deletions
|
|
@ -35,8 +35,7 @@ Osem::Application.routes.draw do
|
|||
|
||||
resources :registrations, except: [:create, :new] do
|
||||
member do
|
||||
patch :present
|
||||
patch :absent
|
||||
patch :toggle_attendance
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue