took current user's name out of the layout
This commit is contained in:
parent
2cee4a0b94
commit
ad61c290fb
4 changed files with 6 additions and 8 deletions
|
|
@ -1,4 +1,8 @@
|
|||
|
||||
- if user_signed_in?
|
||||
%h1#user_name
|
||||
= link_to current_user.real_name, root_path
|
||||
%span.description
|
||||
= my_latest_message
|
||||
%h1= title_for_page
|
||||
%ul#stream
|
||||
- for post in @posts
|
||||
|
|
|
|||
|
|
@ -52,11 +52,6 @@
|
|||
= render 'people/sidebar' if user_signed_in?
|
||||
|
||||
.span-20.last
|
||||
- if user_signed_in?
|
||||
%h1#user_name
|
||||
= link_to current_user.real_name, root_path
|
||||
%span.description
|
||||
= my_latest_message
|
||||
= yield
|
||||
|
||||
= render "posts/debug"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
- title "New Request"
|
||||
%h1 requests
|
||||
|
||||
= render 'form'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
%h1 user page!
|
||||
.span-20.last
|
||||
%h1= "#{@user.real_name}"
|
||||
- if @user_profile
|
||||
|
|
|
|||
Loading…
Reference in a new issue