Permalink
Browse files

routes pagination ok

  • Loading branch information...
1 parent 548fea1 commit 8cde9a6e9fa9cc2bb4a0f534ff1c0f4b65e50717 @deldan deldan committed Jul 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/Config/routes.php
View
@@ -33,6 +33,8 @@
Router::connect('/rss', array('controller' => 'pages', 'action' => 'rss'));
Router::connect('/ensenanzas', array('controller' => 'pages', 'action' => 'lessons'));
Router::connect('/pages/index', array('controller' => 'pages', 'action' => 'index'));
+ Router::connect('/pages/lessons', array('controller' => 'pages', 'action' => 'lessons'));
+ Router::connect('/pages/lessons/*', array('controller' => 'pages', 'action' => 'lessons'));
Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
Router::connect('/areas', array('controller' => 'pages', 'action' => 'display', 'areas'));
Router::connect('/contacto', array('controller' => 'pages', 'action' => 'display', 'contacto'));
@@ -41,8 +43,6 @@
Router::connect('/conocenos/nuestra_vision', array('controller' => 'pages', 'action' => 'display', 'vision'));
Router::connect('/conocenos/valores_y_principios', array('controller' => 'pages', 'action' => 'display', 'valores'));
Router::connect('/conocenos/legalidad', array('controller' => 'pages', 'action' => 'display', 'legalidad'));
- Router::connect('/pages/lessons', array('controller' => 'pages', 'action' => 'lessons'));
- Router::connect('/pages/lessons/*', array('controller' => 'pages', 'action' => 'lessons'));
/**
* Load all plugin routes. See the CakePlugin documentation on

0 comments on commit 8cde9a6

Please sign in to comment.