Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (22 sloc) 0.899 kB
<?php
/**
* Routes configuration
*
* This file configures Banchas routing.
*
* Bancha Project : Combining Ext JS and CakePHP (http://banchaproject.org)
* Copyright 2011-2012 Roland Schuetz, Kung Wong, Andreas Kern, Florian Eckerstorfer
*
* @package Bancha
* @subpackage Config
* @copyright Copyright 2011-2012 Roland Schuetz, Kung Wong, Andreas Kern, Florian Eckerstorfer
* @link http://banchaproject.org Bancha Project
* @since Bancha v 0.9.0
* @author Roland Schuetz <mail@rolandschuetz.at>
*/
/**
* connect the remote api
*/
Router::parseExtensions('js');
Router::connect('/bancha-api', array('plugin' => 'bancha', 'controller' => 'bancha', 'action' => 'index'));
Router::connect('/bancha-api/models/:metaDataForModels', array('plugin' => 'bancha', 'controller' => 'bancha', 'action' => 'index'),array('pass'=>array('metaDataForModels')));
Jump to Line
Something went wrong with that request. Please try again.