Skip to content

Commit

Permalink
Merge pull request #19 from fscz/master
Browse files Browse the repository at this point in the history
added missing var 'timestamp' for template render
  • Loading branch information
evanmiller committed Feb 18, 2013
2 parents 3951cdd + 2ee1a16 commit 4abfa73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controller/cb_admin_model_controller.erl
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

0 comments on commit 4abfa73

Please sign in to comment.