put album owner on unless mine

This commit is contained in:
ilya 2010-07-23 16:36:59 -07:00
parent 48975cc59e
commit 61a9ba7a6e

View file

@ -1,4 +1,5 @@
%h3= @album.name
-unless mine? @album
%h4= 'by ' + @album.person.real_name
-if mine? @album
= render "photos/new_photo", :photo => @photo, :album => @album