Aktivere Rechtemanagement für einige Controller

This commit is contained in:
Andreas Stephanides
2013-10-26 12:49:03 +02:00
parent 37ee03676e
commit ff7c1d71bb
16 changed files with 23 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
class StudienController < ApplicationController
before_filter {@toolbar_elements =[]}
# before_filter :authorize, :only => :verwalten
load_and_authorize_resource
def index
@studien = Studium.all
@topbar_elements=[{:hicon=>'icon-list', :text=>I18n.t("studien.allestudien"),:path=>studien_path}]