Change in handling

This commit is contained in:
Thomas Blazek
2013-07-25 08:25:37 +02:00
parent 63bce09e41
commit 8094f35e81
4 changed files with 22 additions and 11 deletions

View File

@@ -24,7 +24,7 @@
<% end %>
</table>
<br />
<br>
<% if !@studium.nil? %>
<%= link_to 'New Modulgruppe', new_modulgruppe_path %>
<%= link_to 'New Modulgruppe', new_studium_modulgruppe_path(@studium) %>
<% end%>

View File

@@ -33,6 +33,7 @@
</table>
<br />
<% if !@studium.nil? %>
<% #if !@studium.nil? %>
<%= link_to 'New Modul', new_modul_path() %>
<% end%>
<% #end%>