themengruppeprivate

This commit is contained in:
2014-05-27 19:42:05 +05:30
parent 13514317c9
commit adfec2446e
9 changed files with 19 additions and 6 deletions

View File

@@ -52,7 +52,9 @@ class ThemengruppenController < ApplicationController
end
def verwalten_all
@themengruppen =Themengruppe.order(:priority).reverse
end
@toolbar_elements = [{:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('themengruppe.new'), :path=>new_themengruppe_path()}]
end
def verwalten
@themengruppe = Themengruppe.find(params[:themengruppe_id])
@themen = @themengruppe.themen.order(:priority).reverse