links in studienansicht fixed

This commit is contained in:
Andreas Stephanides
2014-03-23 21:28:55 +01:00
parent c235619e31
commit 5186f06cdd
2 changed files with 7 additions and 14 deletions

View File

@@ -40,17 +40,9 @@ class StudienController < ApplicationController
{:hicon=>'icon-list', :text => I18n.t('modulgruppe.list'), :path=>modulgruppen_path}]
case params[:ansicht]
when 'semesteransicht'
@text = 'Zu Modulansicht wechseln'
@flip = 'modulgruppenansicht'
# render 'semesteransicht'
when 'infoansicht'
@text = 'Zu Modulansicht wechseln'
@flip = 'modulgruppenansicht'
else
@text = 'Zu Semesteransicht wechseln'
@flip = 'semesteransicht'
params[:ansicht]="modulgruppenansicht"
end
end