lib/meibo/user_profile.rb in meibo-0.13.0 vs lib/meibo/user_profile.rb in meibo-0.14.0
- old
+ new
@@ -40,7 +40,11 @@
end
def user
Meibo.current_roster.users.find(user_sourced_id)
end
+
+ def role
+ Meibo.current_roster.roles.where(user_profile_sourced_id: sourced_id).first
+ end
end
end