Remove unused methods
This commit is contained in:
parent
e3d7ce2cc4
commit
5a214ee6f1
10 changed files with 9 additions and 62 deletions
|
@ -230,10 +230,6 @@ class User < ActiveRecord::Base
|
|||
abilities.allowed?(self, action, subject)
|
||||
end
|
||||
|
||||
def last_activity_project
|
||||
projects.first
|
||||
end
|
||||
|
||||
def first_name
|
||||
name.split.first unless name.blank?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue