title: Yii Controller Parameters
body: <p>When I create this method </p>
  
  <pre><code>actionTest($parameter){
      print($parameter);
  }
  </code></pre>
  
  <p>inside of a yii controller and attempt to access it in the browser I get an error 400.</p>
  
  <p>How can I set up yii so that if I enter:
  /controller/test/text  it would simply print the string 'text' on the screen instead of returning an invalid request error?</p>
  
  <p>I already verified that the URL is correct. If I write </p>
  
  <pre><code>actionTest(){
    print('text'); 
  } 
  </code></pre>
  
  <p>and then go to /controller/test/text then it works just fine. </p>
  
  <p>How can I set up yii so that a controller action can accept parameter values in the URL?</p>