AutoCommit Don Aug 27 15:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-27 15:03:02 +02:00
parent 370c439c29
commit 7c2f1f9753
10 changed files with 26 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ render locals: {current_user: User.first}
@user=user
self.message.perform_deliveries = false unless user.flag_getemails
@ability = Ability.new(user)
@calentries = Calentry.limit(100)
@calentries = Calentry.of_month(Date.today).limit(100)
# @neuigkeiten=Neuigkeit.accessiblße_by(ability).published_scope.where("cache_order<2")
mail(to: user.email, content_type: "text/html", subject: "sdf")
render locals: {c_user: user}