Modulgruppenkosmetik

This commit is contained in:
Thomas Blazek
2013-07-24 21:20:12 +02:00
parent d47407b563
commit 0daedfe4c5
3 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -1,4 +1,4 @@
<h1>Listing modulgruppen</h1>
<h1><%= I18n.t("modulgruppe.show")%></h1>
<table>
<tr>

View File

@@ -10,6 +10,6 @@
<br />
<% link_to I18n.t("studien.new"), new_studium_path %>
<% link_to I18n.t("modulgruppe.show"), modulgruppen_path %>
<%= toolbar_html(@toolbar_elements) %>