findExpose
This commit is contained in:
parent
ce28fa338b
commit
e09050f116
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class ResponseContext extends Extensible {
|
|||
"Controller '${split[0]}' does not contain any action named '${split[1]}'");
|
||||
|
||||
final head =
|
||||
controller.exposeDecl.path.toString().replaceAll(_straySlashes, '');
|
||||
controller.findExpose().path.toString().replaceAll(_straySlashes, '');
|
||||
final tail = matched.makeUri(params).replaceAll(_straySlashes, '');
|
||||
|
||||
redirect('$head/$tail'.replaceAll(_straySlashes, ''), code: code);
|
||||
|
|
Loading…
Reference in a new issue