Sha256: f00bc75cfdcfe93874259ab8514337a53e2ff11c5f206092f04ceadc4d886b35

Contents?: true

Size: 192 Bytes

Versions: 5

Compression:

Stored size: 192 Bytes

Contents

module Admin
  module UsersHelper
  
    def display_user_roles(user)
      logger.debug("ROLES : #{user.role_list}")
      user.role_list.map{|r| r.name if r }.join(', ')
    end
  
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
merrycms-0.1.7 app/helpers/admin/users_helper.rb
merrycms-0.1.4 app/helpers/admin/users_helper.rb
merrycms-0.1.2 app/helpers/admin/users_helper.rb
merrycms-0.1.1 app/helpers/admin/users_helper.rb
merrycms-0.1.0 app/helpers/admin/users_helper.rb