From 3d11c09c261ff59446ca38798c0818e85bc4d168 Mon Sep 17 00:00:00 2001
From: Andreas Stephanides
Date: Fri, 20 Mar 2015 17:27:12 +0100
Subject: [PATCH 1/2] fix lva view
---
app/views/lvas/show.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/lvas/show.html.erb b/app/views/lvas/show.html.erb
index 5c50b7c..96f0f5d 100755
--- a/app/views/lvas/show.html.erb
+++ b/app/views/lvas/show.html.erb
@@ -82,7 +82,7 @@
<%= link_to t("beispiel.zip") , beispiel_sammlung_lva_path(@lva), class: :linkbox %>
<% @lva.beispiele.order(:datum).each do |b| %>
- <% cache("beispiel_" +I18n.locale.to_s+b.id.to_s+can?(:delete,b)+"_"+can?(:edit,b) + "_" + b.updated_at.try(:utc).try(:to_s)) do %>
+ <% cache("beispiel_" +I18n.locale.to_s+b.id.to_s+can?(:delete,b).to_s+"_"+can?(:edit,b).to_s + "_" + b.updated_at.try(:utc).try(:to_s)) do %>
<%= render b%>
<% end %>
<% end %>
From f1ba8f7719d82db73b92e241470b9158fc63939f Mon Sep 17 00:00:00 2001
From: Andreas Stephanides
Date: Fri, 20 Mar 2015 17:27:25 +0100
Subject: [PATCH 2/2] fix 404 message for mobile
---
public/404.html | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/public/404.html b/public/404.html
index 9a48320..3c16ac6 100755
--- a/public/404.html
+++ b/public/404.html
@@ -5,15 +5,17 @@
+
+
@@ -21,6 +23,8 @@
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
+
return to main page
+