AutoCommit Sam Sep 12 22:03:04 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-09-12 22:03:04 +02:00
parent ff70c31c40
commit 92667b92e9
7 changed files with 2733 additions and 15 deletions

View File

@@ -19,6 +19,11 @@ class HomeController < ApplicationController
end
def dev
end
def infoscreen
authorize! :doadmin, User
@neuigkeiten = Neuigkeit.accessible_by(current_ability, :show).limit(10)
render layout: false
end
def kontakt
t=YAML.load_file("#{::Rails.root.to_s}/config/contact_topic.yml")