AutoCommit Mon Sep 14 15:54:50 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-09-14 15:54:50 +02:00
parent e15526865d
commit 0337131472
3 changed files with 10 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ class HomeController < ApplicationController
end
def infoscreen
authorize! :doadmin, User
authorize! :infoscreen, User
@neuigkeiten = Neuigkeit.accessible_by(current_ability, :show).where(flag_infoscreen: true)
render layout: false
end