From 195e34d58cb4f8b2e35aca3f3b3d867d482a0373 Mon Sep 17 00:00:00 2001 From: Fabian Schuetz Date: Mon, 18 Feb 2013 01:36:06 +0100 Subject: [PATCH] added missing var for template --- boss.config | 8 ++++---- src/controller/cb_admin_model_controller.erl | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/boss.config b/boss.config index 184d21b..1aed78f 100644 --- a/boss.config +++ b/boss.config @@ -1,12 +1,12 @@ [{boss, [ - {path, "../ChicagoBoss"}, + {path, "/Users/fschuetz/Downloads/ChicagoBoss"}, {vm_cookie, "abc123"}, {applications, [cb_admin]}, {db_host, "localhost"}, - {db_port, 1978}, - {db_adapter, mock}, + {db_port, 5432}, + {db_adapter, pgsql}, {log_dir, "log"}, - {server, misultin}, + {server, cowboy}, {port, 8001}, {session_adapter, mock}, {session_key, "_boss_session"}, diff --git a/src/controller/cb_admin_model_controller.erl b/src/controller/cb_admin_model_controller.erl index 00eb794..ff819c1 100644 --- a/src/controller/cb_admin_model_controller.erl +++ b/src/controller/cb_admin_model_controller.erl @@ -24,7 +24,8 @@ events('GET', [Since], Authorization) -> model('GET', [], Authorization) -> {ok, [{model_section, true}, {records, []}, {models, boss_web:get_all_models()}, - {this_model, ""}, {topic_string, ""}]}; + {this_model, ""}, {topic_string, ""}, + {timestamp, now()}]}; model('GET', [ModelName], Authorization) -> model('GET', [ModelName, "1"], Authorization); model('GET', [ModelName, PageName], Authorization) ->