X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/6d422530319d9fbacc37c271e22778d07414f0da..4efa3e9bc47cc649205a399fde51ed7e61bef7f8:/app/models/user.rb diff --git a/app/models/user.rb b/app/models/user.rb new file mode 100644 index 0000000..62c5d1d --- /dev/null +++ b/app/models/user.rb @@ -0,0 +1,9 @@ +class User < ActiveRecord::Base + include LoginEngine::AuthenticatedUser + has_many :elections + + def name + [ firstname, lastname].join(" ") + end +end +