Skip to content

Commit 195e34d

Browse files
Fabian SchuetzFabian Schuetz
authored andcommitted
added missing var for template
1 parent 3951cdd commit 195e34d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

boss.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[{boss, [
2-
{path, "../ChicagoBoss"},
2+
{path, "/Users/fschuetz/Downloads/ChicagoBoss"},
33
{vm_cookie, "abc123"},
44
{applications, [cb_admin]},
55
{db_host, "localhost"},
6-
{db_port, 1978},
7-
{db_adapter, mock},
6+
{db_port, 5432},
7+
{db_adapter, pgsql},
88
{log_dir, "log"},
9-
{server, misultin},
9+
{server, cowboy},
1010
{port, 8001},
1111
{session_adapter, mock},
1212
{session_key, "_boss_session"},

src/controller/cb_admin_model_controller.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ events('GET', [Since], Authorization) ->
2424
model('GET', [], Authorization) ->
2525
{ok, [{model_section, true}, {records, []},
2626
{models, boss_web:get_all_models()},
27-
{this_model, ""}, {topic_string, ""}]};
27+
{this_model, ""}, {topic_string, ""},
28+
{timestamp, now()}]};
2829
model('GET', [ModelName], Authorization) ->
2930
model('GET', [ModelName, "1"], Authorization);
3031
model('GET', [ModelName, PageName], Authorization) ->

0 commit comments

Comments
 (0)