user name in breadcrumb

This commit is contained in:
danielvincent 2010-10-22 15:38:22 -07:00
parent 837b418201
commit f2cfa3c378
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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