ルーティングでは、ユーザーが特定のURLにアクセスした時に、どのコントローラーのどのアクションに処理を振り分けるかを定義する。
それは、HTTPリクエストを指しており、HTTPリクエストは、
HTTPメソッド'URL'=>'コントローラ名#アクション名'
となっており、
HTTPメソッドは要求の主な内容を表しており、「どのURLにアクセスした時に、どのコントローラのどのアクションを呼び出すか」を定義している。
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme