cakePHP - 日历插件问题

im currently working on creating a small application for a website i'm working on the calendar im using is in the cakephp plugins folder. I have to display events depending on the city or view id i want the url like this.

http://imstillreallybored.com/cupload/full_calendar/cities/1

i also want to load the event model and not have load a 'cities' database table i already have all the information i need in two tables events and event_locations i just need to run a condition to get events according to the id. here the original link

http://imstillreallybored.com/cupload/full_calendar/

This could be accomplished with a route.

Router::connect(
    '/full_calendar/cities/*',
    array(
       'plugin' => 'full_calendar',
       'controller' => 'events',
       'action' => 'view'
    )
);

That would match the /full_calendar/cities/[id] and the id would be passed in as the first parameter for the EventsController::view() action.

public function view($id = null) {
    // Your action logic
}