Skip to content
  • Kaspar Vollenweider's avatar
    rename profile_link helper and place one with that name that really creates a link · bcaec3fb
    Kaspar Vollenweider authored
    - the profile_link helper was delivering a path, but not a link
    - renamed profile_link to profile_url_path (not profile_path to not conflict with path helpers)
    - created new method profile_link, that creates a real html link of the user with its full name
      - it also checks for current_user policy credentials, edit? or show? and if none of them, it shows
        the users full_name and email as pure text
    bcaec3fb