themen sortieren

This commit is contained in:
Andreas Stephanides
2013-11-11 20:00:52 +01:00
parent 1efb5a2967
commit 0827796e54
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ class ThemengruppenController < ApplicationController
# GET /themengruppen.json
load_and_authorize_resource
def index
@themengruppen = Themengruppe.all
@themengruppen = Themengruppe.order(:title)
@toolbar_elements = [{:icon=>:plus, :hicon=>'icon-plus-sign', :text=>I18n.t('themengruppe.new'), :path=>new_themengruppe_path()}]
respond_to do |format|