リクエストパスと起動するAction
以下のようにアクションを起動させる。ホームディレクトリへのアクセスがあった場合は無条件にHomeActionが起動するものとする。該当するクラスがなかった場合、Moony側で用意したForwardActionクラスが起動。単純なフォワード処理を行う。
リクエストパス | アクションクラス | GETパラメータ |
/ | HomeAction | (none) |
/index.html | HomeAction | (none) |
/hoge/ | HogeAction | (none) |
/hoge/index.html | HogeAction | (none) |
/hoge/test.html | HogeTestAction | (none) |
/hoge/test/ | HogeTestAction | (none) |
/hoge/test/sample.html | HogeTestAction | arg=sample |