title: Yii2: Method not allowed arror while logout action from different controller
body: <p>When i am executing logging out action from</p>
  
  <pre><code>....index.php?r=teams/dashboard 
  </code></pre>
  
  <p>it is throwing me #405 method not allowed error. DO i have to implement logout method other than site controller.. i.e in teams controller????</p>