Body: <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>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-21T13:58:09.780Z
Comments.Text: Your error page says it is the route that is bad. Did you set a route for the controller?
Comments.UserDisplayName: Jim Wyse
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-21T14:03:55.800Z
Comments.Text: How can i do this?
Comments.UserDisplayName: Pavel Pavlovich
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-21T19:27:26.857Z
Comments.Text: 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
Comments.UserDisplayName: Brad Bell
Tags: <plugin-development>
Title: After calling the controller method error from template. Craft CMS 3
ThreadText: # 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
  
  