created action for attendance-button

This commit is contained in:
raluka 2015-07-06 18:36:46 +02:00
parent bd0cfb99bc
commit 522f0b31d9
3 changed files with 23 additions and 4 deletions

View file

@ -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