Здесь показаны различия между двумя версиями данной страницы.
|
eaze:panda:создание_fe [2011/09/12 14:55] sergeyfast создано |
eaze:panda:создание_fe [2012/09/27 11:53] (текущий) sergeyfast [Перенаправления] |
||
|---|---|---|---|
| Строка 6: | Строка 6: | ||
| <redirect name="success" path="/news/{newsId}/ " /> | <redirect name="success" path="/news/{newsId}/ " /> | ||
| </redirects></code> | </redirects></code> | ||
| - | - В Execute() пишем:<code php>Response::setInteger( 'news', 1 ); | + | - В Execute() пишем:<code php>Response::setInteger( 'newsId', 1 ); |
| return "success";</code> У одного action может быть сразу несколько ''<redirect>''. | return "success";</code> У одного action может быть сразу несколько ''<redirect>''. | ||