Skip to content

Commit

Permalink
[WebUI IntelliHome#7] Added types array to stash of the pages
Browse files Browse the repository at this point in the history
  • Loading branch information
skullbocks committed Aug 19, 2014
1 parent 59ddebe commit 73962a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/IntelliHome/WebUI/Controller/Pages.pm
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ sub admin_gpios {

$self->stash(
gpios => \@gpios,
gpio_types=> [1,2,3],
nodes => \@nodes
);
$self->render("gpios");
Expand All @@ -46,7 +47,7 @@ sub admin_nodes {
my $self = shift;
my @nodes = $self->app->build_nodes();

$self->stash( nodes => \@nodes );
$self->stash( nodes => \@nodes, node_types=>["master","node","agent"]);
$self->render("nodes");
}

Expand Down

0 comments on commit 73962a9

Please sign in to comment.