| Index: app/models/photo.rb |
| =================================================================== |
| --- app/models/photo.rb (revision 36) |
| +++ app/models/photo.rb (working copy) |
| @@ -11,6 +11,6 @@ |
| def self.family_photo |
| return nil if Setting[:family_photo_id].nil? |
| - find Setting[:family_photo_id] |
| + Photo.find Setting[:family_photo_id] |
| end |
| -end |
| +end |