Skip to content

Commit

Permalink
added missing var for template
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Schuetz authored and Fabian Schuetz committed Feb 18, 2013
1 parent 3951cdd commit 195e34d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions boss.config
Original file line number Diff line number Diff line change
@@ -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"},
Expand Down
3 changes: 2 additions & 1 deletion src/controller/cb_admin_model_controller.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down

1 comment on commit 195e34d

@aherranz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already fixed, could be discarded.

Please sign in to comment.