Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(48)

Unified Diff: app/models/photo.rb

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
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

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483