[Rt-commit] r18336 - in rt/3.999/trunk: . lib/RT
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Feb 10 21:52:42 EST 2009
Author: sunnavy
Date: Tue Feb 10 21:52:42 2009
New Revision: 18336
Removed:
rt/3.999/trunk/share/html/Dashboards/dhandler
Modified:
rt/3.999/trunk/ (props changed)
rt/3.999/trunk/lib/RT/Dispatcher.pm
Log:
r19774 at sunnavys-mb: sunnavy | 2009-02-11 10:40:58 +0800
refactor Dashboards/dhandler as a dispatch rule
Modified: rt/3.999/trunk/lib/RT/Dispatcher.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Dispatcher.pm (original)
+++ rt/3.999/trunk/lib/RT/Dispatcher.pm Tue Feb 10 21:52:42 2009
@@ -170,6 +170,11 @@
RT::Interface::Web::Handler::cleanup_request();
};
+on qr{^/Dashboards/(\d+)} => run {
+ Jifty->web->request->argument( id => $1 );
+ show( '/Dashboards/Render.html' );
+};
+
# Backward compatibility with old RT URLs
before '/NoAuth/Logout.html' => run { redirect '/logout' };
More information about the Rt-commit
mailing list