The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Cinema::Controller::News - A controller that handles actions for News.

SYNOPSIS

You can call its actions in any template files either

    <a HREF="[% Catalyst.uri_for('/news/add') %]">News</a>
    

or

    <a HREF="[% base %]news/add">News</a>

DESCRIPTION

This is A controller that handles actions for News.

Methods

add

This action is used to add a news.

view

This action is used to retrieve news data from database and then propagate to view module.

AUTHOR

Jeff Mo - <mo0118@gmail.com>