I have a site created in CodeIgniter. URL format
domain.com/lang/id/descriptive-text
eg.
domain.com/en/12/article-on-codeigniter-routing
On one specific page (Tours) displays all the travel information (obtained by id) for display. HOWEVER, now I have a reservation system written in Ruby on Rails that I need to integrate. To do this, you need to have a subdomain called booking.domain.com, and each page of the tour to display on this subdomain so that the page reservation system can work properly.
This means encoding the Tour page in ruby โโand transmitting information from codeigniter. The way I know if a Tour page or just other pages is that the tour pages have an identifier greater than 20 but less than 40.
Below is my current routing code:
$route['default_controller'] = "content"; $route['en/(:num)/(:any)'] = "content/en/$1"; $route['de/(:num)/(:any)'] = "content/de/$1"; $route['es/(:num)/(:any)'] = "content/es/$1"; $route['it/(:num)/(:any)'] = "content/it/$1";
My question is, how can I change this to reflect this new change now? I'm at a loss.
thanks
source share