Sha256: cf1a64745382612992b5cc1b8388c6e8e05634aadd424bdb5df4e295a3baed2d
Contents?: true
Size: 485 Bytes
Versions: 22
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module EacRailsBase0 module UserMenuHelper def base0_user_menu_entries r = {} if current_user r[current_user.to_s] = { 'Alterar senha' => [eac_users_support.edit_user_registration_path] } r[t('devise.log_out')] = [eac_users_support.destroy_user_session_path, link_method: :delete] else r[t('devise.log_in')] = [eac_users_support.new_user_session_path] end r end end end
Version data entries
22 entries across 22 versions & 1 rubygems