Skip to content

Commit

Permalink
Fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
mareksriska committed Mar 19, 2018
1 parent 75de693 commit 96705e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
1. Add an action to wp_virtual_routes that recieves RouterInterface as a parameter.
2. Add new route with $router->addRoute(); As a param pass RouteInterface type.
* new Route();
* First param ir route url. Example: '/users/login'
* First param is route url. Example: '/users/login'
* Second param is of type RouteHandlerInterface. You can extend the RequestHandler class to create your own handler or just pass in RequestHandler
with a defined template param to create a simple page that renders your specified template.
* Third is page title. Example: 'User login form'
Expand Down

0 comments on commit 96705e6

Please sign in to comment.