Skip to content

Problem throw error for default controller #146

Description

@arma7x
  1. Problem for routing without using namespace:
    case-1 = $routes->add('', 'Home::index') $this->controller has value of Home, result OK
    case-2 = $routes->add('/', 'Home::index') $this->controller has value of \Home, result ErrorException line 500
  2. Problem for routing with namespace
    case-1 = $routes->add('/', 'Home::index', ['namespace'=>'App\Controllers']) $this->controller has value of \App\Controllers\Home, result ErrorException line 500

What does line 500 really do in /system/Controller.php.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions