forked from bofh/fetsite
AutoCommit Mon Sep 14 15:54:50 CEST 2015
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user