From f77fc8c6b236013cade8885eb8a5d9e5c0eaf8cb Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 17 Apr 2015 16:38:07 +0800 Subject: [PATCH] small fix --- app/controllers/page_contents_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/page_contents_controller.rb b/app/controllers/page_contents_controller.rb index f3f6f8e..20b64f7 100644 --- a/app/controllers/page_contents_controller.rb +++ b/app/controllers/page_contents_controller.rb @@ -7,7 +7,6 @@ class PageContentsController < OrbitAdminController "html" => (page.page_contexts.last.content rescue ""), "title" => (page.name rescue ""), "view_count" => (page.view_count rescue ""), - "view_count" => (page.view_count rescue ""), "view-count-head" =>t('page_content.view_count'), "url_to_edit" => url_to_edit }