Revision 296 (by ahitrov, 2013/03/26 17:59:01) Promosite (anthill) project source
<%init>

  my $prj = $request->{project};
  my $profile = $request->{project_profile};
  my $root = $request->{project_section};

  my $subsections = $keeper->get_sections (
		s	=> $root->id,
		class	=> 'promosuite::SubSection',
		status	=> 1,
		order_by	=> 'sorder',
		return_mode	=> 'array_ref',
	);
  $request->{subsections} = $subsections;

  $m->call_next;

</%init>