OSDN Git Service

テストが通るように作り直した 2.1.7
authorymatsumoto <ymatsumoto@appirits.com>
Wed, 3 Apr 2013 08:20:26 +0000 (17:20 +0900)
committerymatsumoto <ymatsumoto@appirits.com>
Wed, 3 Apr 2013 08:37:55 +0000 (17:37 +0900)
ChangeLog
app/controllers/admin/totals_controller.rb

index 27094ca..783c08e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2013-3-21  Matsumoto Yasuhito  <ymatsumoto _at_ appirits.com>
+2013-04-03  Matsumoto Yasuhito  <ymatsumoto _at_ appirits.com>
+       * 2.1.7 Release
+       * [管理画面] コントローラーのテストが通る用に作り直しました
+
+2013-03-21  Matsumoto Yasuhito  <ymatsumoto _at_ appirits.com>
 
        * 2.1.6 Release
        * [管理画面] 受注管理画面の検索内容に「受注日」を追加
index 450b8b6..185fa2d 100644 (file)
@@ -44,7 +44,6 @@ class Admin::TotalsController < Admin::BaseController
     @list_view = @agent.columns
     @links = @agent.links
     @labels = @agent.labels
-    @total = @agent.total
     
     #当てはまったものをレコードに入れる
     begin
@@ -54,6 +53,8 @@ class Admin::TotalsController < Admin::BaseController
       e.backtrace.each{|bt|logger.error(bt)}
     end
 
+    @total = @agent.total
+    
     #
     begin
       flash[:graph] = @agent.graph