Mercurial > hg > soundsoftware-site
diff app/helpers/.svn/text-base/users_helper.rb.svn-base @ 117:af80e5618e9b redmine-1.1
* Update to Redmine 1.1-stable branch (Redmine SVN rev 4707)
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 12:53:21 +0000 |
parents | 94944d00e43c |
children |
line wrap: on
line diff
--- a/app/helpers/.svn/text-base/users_helper.rb.svn-base Fri Nov 19 14:05:24 2010 +0000 +++ b/app/helpers/.svn/text-base/users_helper.rb.svn-base Thu Jan 13 12:53:21 2011 +0000 @@ -33,6 +33,10 @@ options end + def user_mail_notification_options(user) + user.valid_notification_options.collect {|o| [l(o.last), o.first]} + end + def change_status_link(user) url = {:controller => 'users', :action => 'update', :id => user, :page => params[:page], :status => params[:status], :tab => nil}