Welcome Guest, Not a member yet? Register   Sign In
Routing and modules
#6

it is possible because I'm using routes for my blog I'm working on.

Here is my routes in Insitefx/Blog/Config/Routes.php

PHP Code:
<?php namespace Insitefx\Blog\Config;

/**
 * Insitefx/Name: routes file.
 */

$routes->group('', ['namespace' => 'Insitefx\Blog\Controllers'], function($routes)
{
    $routes->get('blog''Blog::index');
    $routes->get('blog/post/(:num)''Blog::post/$1');
    $routes->post('blog/add''Blog::add');
    $routes->get('blog/category/(:num)''Blog::category/$1');
}); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Routing and modules - by lucky - 11-24-2020, 12:33 AM
RE: Routing and modules - by InsiteFX - 11-24-2020, 06:52 PM
RE: Routing and modules - by lucky - 11-25-2020, 12:29 AM
RE: Routing and modules - by InsiteFX - 11-25-2020, 03:46 PM
RE: Routing and modules - by lucky - 11-26-2020, 12:20 AM
RE: Routing and modules - by InsiteFX - 11-26-2020, 03:04 AM
RE: Routing and modules - by lucky - 11-26-2020, 09:57 AM
RE: Routing and modules - by InsiteFX - 11-26-2020, 12:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB