From e1d730fd044603773f369826124ceb21e0c9c760 Mon Sep 17 00:00:00 2001 From: HausdorffHimself Date: Tue, 10 Sep 2013 02:12:14 +0200 Subject: [PATCH] CHANGE: galleries -> show --- app/views/galleries/show.html.erb | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/app/views/galleries/show.html.erb b/app/views/galleries/show.html.erb index f1d45b9..400798a 100644 --- a/app/views/galleries/show.html.erb +++ b/app/views/galleries/show.html.erb @@ -1,18 +1,17 @@

<%= notice %>

- <%= @gallery.datum %> + <%= @gallery.fotos.size.to_s + " " + I18n.t('fotos.bilder')%> + <%=I18n.l(@gallery.try(:datum).try(:to_date)) unless @gallery.try(:datum).try(:to_date).nil? %>

<%= @gallery.name %>

-
+

<%= @gallery.desc %>

- - - +