Some fixes for task module.
This commit is contained in:
parent
a4f71bd672
commit
6c98c7c755
6 changed files with 24 additions and 15 deletions
|
|
@ -185,6 +185,10 @@ class User < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
def token_attributes
|
||||
{:id => id, :name => "#{nick} (#{ordergroup.try(:name)})"}
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue