Skip to content
Snippets Groups Projects
Commit a2eee318 authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix title on user page.

parent 92fd3cce
No related branches found
No related tags found
1 merge request!593Add a page title to every page.
Pipeline #
Loading
@@ -12,9 +12,6 @@ class UsersController < ApplicationController
Loading
@@ -12,9 +12,6 @@ class UsersController < ApplicationController
# Collect only groups common for both users # Collect only groups common for both users
@groups = @user.groups & GroupsFinder.new.execute(current_user) @groups = @user.groups & GroupsFinder.new.execute(current_user)
   
@title = @user.name
@title_url = user_path(@user)
respond_to do |format| respond_to do |format|
format.html format.html
   
Loading
Loading
- page_title @user.name
- header_title @user.name, user_path(@user)
= content_for :meta_tags do = content_for :meta_tags do
= auto_discovery_link_tag(:atom, user_url(@user, format: :atom), title: "#{@user.name} activity") = auto_discovery_link_tag(:atom, user_url(@user, format: :atom), title: "#{@user.name} activity")
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment