From 0daedfe4c563a953c5daa0f50723d57cafc3630d Mon Sep 17 00:00:00 2001 From: Thomas Blazek Date: Wed, 24 Jul 2013 21:20:12 +0200 Subject: [PATCH] Modulgruppenkosmetik --- app/controllers/studien_controller.rb | 1 + app/views/modulgruppen/index.html.erb | 2 +- app/views/studien/index.html.erb | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/controllers/studien_controller.rb b/app/controllers/studien_controller.rb index 761aa51..4f37041 100755 --- a/app/controllers/studien_controller.rb +++ b/app/controllers/studien_controller.rb @@ -5,6 +5,7 @@ class StudienController < ApplicationController def index @studien = Studium.all @toolbar_elements<<{:icon =>:plus, :text=> I18n.t('studien.new') ,:path=>new_studium_path } + @toolbar_elements<<{:text=> I18n.t('modulgruppe.show') ,:path=>modulgruppen_path } end def show diff --git a/app/views/modulgruppen/index.html.erb b/app/views/modulgruppen/index.html.erb index f304aaa..9e15581 100755 --- a/app/views/modulgruppen/index.html.erb +++ b/app/views/modulgruppen/index.html.erb @@ -1,4 +1,4 @@ -

Listing modulgruppen

+

<%= I18n.t("modulgruppe.show")%>

diff --git a/app/views/studien/index.html.erb b/app/views/studien/index.html.erb index 31d1a18..9f6806c 100755 --- a/app/views/studien/index.html.erb +++ b/app/views/studien/index.html.erb @@ -10,6 +10,6 @@
- <% link_to I18n.t("studien.new"), new_studium_path %> +<% link_to I18n.t("modulgruppe.show"), modulgruppen_path %> <%= toolbar_html(@toolbar_elements) %>