Improved code layout.

This commit is contained in:
Martin Edenhofer 2013-06-01 01:10:40 +02:00
parent 19079731cb
commit 886a249aee

View file

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