Skip to content

Commit

Permalink
Tweaked index-dist.php to use
Browse files Browse the repository at this point in the history
\Slim3MvcTools\Controllers\BaseController::class
in the definition of 'S3MVC_APP_DEFAULT_CONTROLLER_CLASS_NAME'
  • Loading branch information
rotexdegba committed Jun 1, 2018
1 parent dd7d2d0 commit b1ff254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index-dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

// This is used to create a controller object to handle the default / route.
// Must be prefixed with the namespace if the controller class is in a namespace.
define('S3MVC_APP_DEFAULT_CONTROLLER_CLASS_NAME', '\\Slim3MvcTools\\Controllers\\BaseController');
define('S3MVC_APP_DEFAULT_CONTROLLER_CLASS_NAME', \Slim3MvcTools\Controllers\BaseController::class);

// This is the name of the action / method to be called on the default controller
// to handle the default / route. This method should return a response string (ie.
Expand Down

0 comments on commit b1ff254

Please sign in to comment.