From 82f16e71d49350c1ad4aa48773db5d0f45a55c6c Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 2 Mar 2009 20:29:25 +0100 Subject: introducing page templates - need to add edit capabilities renamed the custom template folder forgot one fix for the new custom template path page templates refined renamed page attribute template to template_name as i suspected it to be a reserved word. it still didn't work until i discovered that simon defined the accessible attributes! That costed me 40 minutes of lifetime. But he apologized ;) tests for public and custom page templates --- app/views/content/render_page.html.erb | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 app/views/content/render_page.html.erb (limited to 'app/views/content') diff --git a/app/views/content/render_page.html.erb b/app/views/content/render_page.html.erb deleted file mode 100644 index 4c21667..0000000 --- a/app/views/content/render_page.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -
-

<%= @page.title %>

-

<%= date_for_page @page %>, <%= @page.user.try(:login) %>

-
-

<%= @page.abstract %>

- <%= aggregate?(@page.body) %> -
\ No newline at end of file -- cgit v1.3