FIX: Translations Gremien Issure #121

This commit is contained in:
Andreas Deutschmann
2014-03-12 17:58:49 +01:00
parent 14b42ef33a
commit 6022491a26
4 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ class GremienController < ApplicationController
def verwalten
@gremien = Gremium.all
@gremientabs=Gremium.tabs
@toolbar_elements << {:text=>I18n.t('common.new'),:path=>new_gremium_path() ,:icon=>:plus} if can? :new, Gremium
@toolbar_elements << {:text=>I18n.t('gremium.new'),:path=>new_gremium_path() ,:icon=>:plus} if can? :new, Gremium
respond_to do |format|
format.html # index.html.erb
format.json { render json: @gremien }