From e5cbee33e19e73a79e64ff4f9c66e9c8b6c55dff Mon Sep 17 00:00:00 2001 From: Iceskysl Date: Mon, 25 Jun 2012 22:58:54 +0800 Subject: [PATCH] fix some bug(body_html) --- app/views/pages/show.html.erb | 10 +++++----- db/unicorn.start.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/pages/show.html.erb b/app/views/pages/show.html.erb index f0d7883..6c48314 100644 --- a/app/views/pages/show.html.erb +++ b/app/views/pages/show.html.erb @@ -1,11 +1,11 @@
-
+
-

<%=@page.title %>

+

<%=@page.title %>

-
-<%= raw @page.body %> -
+
+ <%= raw @page.body_html %> +
\ No newline at end of file diff --git a/db/unicorn.start.sh b/db/unicorn.start.sh index 473b523..5a8b3ae 100755 --- a/db/unicorn.start.sh +++ b/db/unicorn.start.sh @@ -1 +1 @@ -bundle exec unicorn_rails -c config/unicorn.rb -D \ No newline at end of file +bundle exec unicorn_rails -c config/unicorn.rb -E production -D \ No newline at end of file