Project

General

Profile

Download (335 Bytes) Statistics
| Branch: | Tag: | Revision:
module UsersHelper
def last_login_on_column record
time_ago_in_words(record.last_login_on.getlocal) + " ago" if record.last_login_on
end

def admin_column record
image_tag("true.png", :size => "18x18") if record.admin
end

def auth_source_column record
record.auth_source.to_label if record.auth_source
end
end
(30-30/30)