AutoCommit Don Jul 9 16:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-07-09 16:03:02 +02:00
parent 783ba0d030
commit fe32c2102b
4 changed files with 131 additions and 1 deletions

View File

@@ -94,7 +94,10 @@ class HomeController < ApplicationController
format.js
end
end
def language
end
def choose_contact_topics
authorize! :doadmin, User
t=YAML.load_file("#{::Rails.root.to_s}/config/contact_topic.yml")
unless params[:themen].nil?
t=([t].flatten+params[:themen]).uniq