From 9307acf29fed2d4631d280556baa45a7d59883e4 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Wed, 17 Dec 2014 17:00:50 +0100 Subject: [PATCH] fix2 --- app/views/themengruppen/faqs.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/themengruppen/faqs.html.erb b/app/views/themengruppen/faqs.html.erb index ee6c74d..cd85780 100644 --- a/app/views/themengruppen/faqs.html.erb +++ b/app/views/themengruppen/faqs.html.erb @@ -2,7 +2,7 @@
<% @themengruppen.each do |tg| %> - <% if can? (:show, tg) %> + <% if can?(:show, tg) %>

<%= tg.title%>

@@ -10,7 +10,8 @@ <% tg.themen.order(:priority).reverse.each do |t| %> <% if can?(:show, t) %>
  • <%= t.title %> -
      <% t.fragen.each do |f| %> +
        + <% t.fragen.each do |f| %>
      • <%= f.title %>?

        <%= raw(f.text) %>