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,4 +1,5 @@
|
||||||
%h3= @album.name
|
%h3= @album.name
|
||||||
|
-unless mine? @album
|
||||||
%h4= 'by ' + @album.person.real_name
|
%h4= 'by ' + @album.person.real_name
|
||||||
-if mine? @album
|
-if mine? @album
|
||||||
= render "photos/new_photo", :photo => @photo, :album => @album
|
= render "photos/new_photo", :photo => @photo, :album => @album
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue