suite
This commit is contained in:
parent
ba02bda008
commit
b1c981493b
@ -12,7 +12,7 @@ class StudentUser < ActiveRecord::Base
|
||||
has_many :messages, :class_name => "StudentMessage"
|
||||
has_many :topics, :class_name => "StudentTopic"
|
||||
|
||||
has_many :images, :class_name => "StudentUserImage", :order => "created_at DESC"
|
||||
has_many :images, :class_name => "StudentUserImage" #, :order => "created_at DESC"
|
||||
|
||||
|
||||
has_many :student_user_groups
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
#testimony_slideshow
|
||||
|
||||
-Testimony.find(:all).sort_by { rand }.each do |testimony|
|
||||
-Testimony.all.sort_by { rand }.each do |testimony|
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user