error fixes
This commit is contained in:
@@ -3,7 +3,7 @@ class ThemengruppenController < ApplicationController
|
|||||||
# GET /themengruppen.json
|
# GET /themengruppen.json
|
||||||
load_and_authorize_resource
|
load_and_authorize_resource
|
||||||
def index
|
def index
|
||||||
@themengruppen = Themengruppe.order(:priority).reverse
|
@themengruppen = Themengruppe.public.order(:priority).reverse
|
||||||
@toolbar_elements = [{:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('themengruppe.new'), :path=>new_themengruppe_path()}]
|
@toolbar_elements = [{:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('themengruppe.new'), :path=>new_themengruppe_path()}]
|
||||||
@toolbar_elements = [{:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('common.verwalten'), :path=>verwalten_all_themengruppen_path()}]
|
@toolbar_elements = [{:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('common.verwalten'), :path=>verwalten_all_themengruppen_path()}]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user