This commit is contained in:
Nicolas Bally 2021-05-15 02:52:20 +02:00
parent ba02bda008
commit b1c981493b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -46,7 +46,7 @@
#testimony_slideshow
-Testimony.find(:all).sort_by { rand }.each do |testimony|
-Testimony.all.sort_by { rand }.each do |testimony|