NAME
App::Cinema::Controller::Menu - A controller that handles the request for the MENU link.
SYNOPSIS
You can call its actions in any template files either
<a HREF="[% Catalyst.uri_for('/menu') %]">MENU</a>
or
<a HREF="[% base %]menu">MENU</a>
You can also use them in any other controller modules like this:
$c->res->redirect( $c->uri_for('/menu') );
DESCRIPTION
This is a controller that handles the request for the MENU link.
Methods
index
-
This private action is used to retrieve the data of News and Item from database, choose suitable template, and then propagate to view module.
AUTHOR
Jeff Mo - <mo0118@gmail.com>