sticky topics

This commit is contained in:
Andreas Stephanides
2015-02-23 09:19:30 +01:00
parent 81e97837de
commit a0427336c8
4 changed files with 13 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ class HomeController < ApplicationController
else
@starttopic=@themen = nil
end
@stickythemen = Thema.where(:sticky_startpage=>true)
end
def dev