<p><a href="https://prnt.sc/qqs50o" rel="nofollow noreferrer">https://prnt.sc/qqs50o</a></p>

<p>I use the base plugin template from plugin factory.</p>

CC BY-SA 4.0
2020-01-21T13:58:09.780Z
Your error page says it is the route that is bad. Did you set a route for the controller?
Jim Wyse
CC BY-SA 4.0
2020-01-21T14:03:55.800Z
How can i do this?
Pavel Pavlovich
CC BY-SA 4.0
2020-01-21T19:27:26.857Z
Probably worth reading over the Craft and Yii routing docs: https://docs.craftcms.com/v3/routing.html and https://www.yiiframework.com/doc/guide/2.0/en/runtime-routing
Brad Bell
<plugin-development>
After calling the controller method error from template. Craft CMS 3
# After calling the controller method error from template. Craft CMS 3

(Asked by: username_0 on 2020-01-21)

<https://prnt.sc/qqs50o>

I use the base plugin template from plugin factory.

**Tags:** plugin-development
> **Comments:**
> **username_1**: Your error page says it is the route that is bad. Did you set a route for the controller?  
> **username_0**: How can i do this?  
> **username_2**: Probably worth reading over the Craft and Yii routing docs: https://docs.craftcms.com/v3/routing.html and https://www.yiiframework.com/doc/guide/2.0/en/runtime-routing  

---

## 0 answers

