Mercurial > hg > soundsoftware-site
comparison app/models/user_preference.rb @ 245:051f544170fe
* Update to SVN trunk revision 4993
author | Chris Cannam |
---|---|
date | Thu, 03 Mar 2011 11:42:28 +0000 |
parents | 513646585e45 |
children | cbb26bc654de |
comparison
equal
deleted
inserted
replaced
244:8972b600f4fb | 245:051f544170fe |
---|---|
49 end | 49 end |
50 end | 50 end |
51 | 51 |
52 def comments_sorting; self[:comments_sorting] end | 52 def comments_sorting; self[:comments_sorting] end |
53 def comments_sorting=(order); self[:comments_sorting]=order end | 53 def comments_sorting=(order); self[:comments_sorting]=order end |
54 | |
55 def warn_on_leaving_unsaved; self[:warn_on_leaving_unsaved] || '1'; end | |
56 def warn_on_leaving_unsaved=(value); self[:warn_on_leaving_unsaved]=value; end | |
54 end | 57 end |