user name in breadcrumb
This commit is contained in:
parent
837b418201
commit
f2cfa3c378
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@
|
|||
= render 'shared/author_info', :post => @album
|
||||
|
||||
%ul#breadcrumb
|
||||
%li= link_to "Photos", '#'
|
||||
%li= link_to "#{@album.person.profile.first_name}'s Photos", '#'
|
||||
%li= @album.name
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
= render 'shared/author_info', :post => @photo
|
||||
|
||||
%ul#breadcrumb
|
||||
%li= link_to "Photos", '#'
|
||||
%li= link_to "#{@album.person.profile.first_name}'s Photos", '#'
|
||||
%li= link_to @album.name, album_path(@album)
|
||||
%li= @photo.caption
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue