summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-08-10 16:41:18 +0200
committerDylan William Hardison <dylan@hardison.net>2018-08-20 23:52:53 +0200
commit2b8987e24e6e3498fda31bc560a4427ef7fca617 (patch)
treee808725d54e4eb349826f98aab73ca7f89d9775c /extensions/BMO
parent89d8be63eadd9add759c3e5a104ac1eafdd89c3d (diff)
downloadbugzilla-2b8987e24e6e3498fda31bc560a4427ef7fca617.tar.gz
bugzilla-2b8987e24e6e3498fda31bc560a4427ef7fca617.tar.xz
add favicon
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/Extension.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 102b71068..6c4ad2ef2 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -2724,6 +2724,15 @@ sub app_startup {
my $app = $args->{app};
my $r = $app->routes;
+ $r->get(
+ '/favicon.ico' => sub {
+ my $c = shift;
+ $c->reply->file(
+ $c->app->home->child('extensions/BMO/web/images/favicon.ico')
+ );
+ }
+ );
+
$r->any( '/:REWRITE_itrequest' => [ REWRITE_itrequest => qr{form[\.:]itrequest} ] )
->to( 'CGI#enter_bug_cgi' => { 'product' => 'Infrastructure & Operations', 'format' => 'itrequest' } );
$r->any( '/:REWRITE_mozlist' => [ REWRITE_mozlist => qr{form[\.:]mozlist} ] )