diff options
Diffstat (limited to 'rt/share/html/m')
-rw-r--r-- | rt/share/html/m/ticket/autohandler | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rt/share/html/m/ticket/autohandler b/rt/share/html/m/ticket/autohandler new file mode 100644 index 000000000..ac24959a1 --- /dev/null +++ b/rt/share/html/m/ticket/autohandler @@ -0,0 +1,8 @@ +<%init> +# Redirect to the approvals view if we're trying to get an approvals ticket +MaybeRedirectToApproval( + Whitelist => qr{/(?:create|select_create_queue)$}i, + ARGSRef => \%ARGS, +); +$m->call_next; +</%init> |