themessticker, cleanup routes

This commit is contained in:
2014-06-25 23:09:05 +05:30
parent 2ba920331a
commit ee8f2d0076
14 changed files with 208 additions and 263 deletions

View File

@@ -26,7 +26,7 @@
<div class="span6">
<!--<b><%= I18n.t("themengruppe.themen") %></b>
--><ul>
<% themengruppe.themen.order(:priority).reverse.each do |t| %>
<% themengruppe.themen.where(" (NOT hidelink) and ( NOT isdraft) ").order(:priority).reverse.each do |t| %>
<li>
<%= render t %>
</li>

View File

@@ -21,7 +21,9 @@
<% end %>
<% thema.nlinks.each do |l| %>
<li><%= render l.neuigkeit %></li>
<li>
<%= render l.neuigkeit %>
</li>
<% end %>
</ul>