Fix title on user page.

This commit is contained in:
Douwe Maan 2015-05-01 11:33:54 +02:00
parent 92fd3ccee0
commit a2eee3181c
2 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,6 @@ class UsersController < ApplicationController
# Collect only groups common for both users
@groups = @user.groups & GroupsFinder.new.execute(current_user)
@title = @user.name
@title_url = user_path(@user)
respond_to do |format|
format.html

View File

@ -1,3 +1,6 @@
- page_title @user.name
- header_title @user.name, user_path(@user)
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, user_url(@user, format: :atom), title: "#{@user.name} activity")