Fixed info

This commit is contained in:
Thomas Blazek
2013-11-12 09:52:04 +01:00
parent 0bb8460ca4
commit 7b5c39616a

View File

@@ -9,7 +9,7 @@
</div>
</div>
<div class="row-fluid">
<% if params[:info]==true %>
<% if params[:info].true? %>
<%= raw(@studium.desc) %>
<% else %>
<%= @studium.desc_first_words %> <%= link_to I18n.t('studium.info'), studium_path(@studium, :ansicht=>params[:ansicht], :info=>true) %>