Direkte Links zu Modulen und Modulgruppen

This commit is contained in:
Thomas Blazek
2013-07-24 22:51:54 +02:00
parent 4aaaa286f3
commit ef8262beca

View File

@@ -5,7 +5,8 @@ class StudienController < ApplicationController
def index def index
@studien = Studium.all @studien = Studium.all
@toolbar_elements<<{:icon =>:plus, :text=> I18n.t('studien.new') ,:path=>new_studium_path } @toolbar_elements<<{:icon =>:plus, :text=> I18n.t('studien.new') ,:path=>new_studium_path }
@toolbar_elements<<{:text=> I18n.t('modulgruppe.show') ,:path=>modulgruppen_path } @toolbar_elements<<{:text=> I18n.t('modulgruppe.show.link') ,:path=>modulgruppen_path }
@toolbar_elements<<{:text=> I18n.t('modul.show.link') ,:path=>moduls_path }
end end
def show def show