put album owner on unless mine
This commit is contained in:
parent
48975cc59e
commit
61a9ba7a6e
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
%h3= @album.name
|
||||
%h4= 'by ' + @album.person.real_name
|
||||
-unless mine? @album
|
||||
%h4= 'by ' + @album.person.real_name
|
||||
-if mine? @album
|
||||
= render "photos/new_photo", :photo => @photo, :album => @album
|
||||
- for photo in @album_photos
|
||||
|
|
|
|||
Loading…
Reference in a new issue