habil & Modulgruppen name

This commit is contained in:
Andreas Stephanides
2014-04-06 23:06:55 +02:00
parent d7de52ed38
commit 6159503dd9
4 changed files with 6 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ class ModulsController < ApplicationController
# GET /moduls/1.json
def show
for i in @modul.modulgruppen
@tb <<{:text=> i.name + ' ('+i.studium_name + ')', :path=>modulgruppe_path(i)}
@tb <<{:text=> i.long_name, :path=>modulgruppe_path(i)}
end
respond_to do |format|
format.html # show.html.erb