Fix title on user page.
This commit is contained in:
parent
92fd3ccee0
commit
a2eee3181c
|
@ -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
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue