diff --git a/app/models/taskbar.rb b/app/models/taskbar.rb index 9fca405a1..48a41813e 100644 --- a/app/models/taskbar.rb +++ b/app/models/taskbar.rb @@ -1,12 +1,11 @@ class Taskbar < ApplicationModel + store :state + store :params + before_create :update_last_contact + before_update :update_last_contact -store :state -store :params -before_create :update_last_contact -before_update :update_last_contact - -private + private def update_last_contact self.last_contact = Time.now end -end \ No newline at end of file +end