Intern Bereich

This commit is contained in:
Andreas Stephanides
2014-05-02 18:54:50 +02:00
parent ef62b73b2d
commit c713a44884
8 changed files with 42 additions and 13 deletions

View File

@@ -10,7 +10,9 @@ class RubrikenController < ApplicationController
@neuigkeiten = @rubriken.collect(&:neuigkeiten).map(&:recent).flatten
@calentries= @rubriken.collect(&:calendar).collect(&:calentries).flatten
end
def intern
end
def show
if can?(:shownonpublic, Rubrik)
@rubriken = Rubrik.all