summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Quantum/Home.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-10-03 22:08:55 +0200
committerGitHub <noreply@github.com>2018-10-03 22:08:55 +0200
commitf81ef54f3224d875c40076636282e2b7387a7fd4 (patch)
tree0a80aa8d4c0b408258a72d653dfabd0b587b3e37 /Bugzilla/Quantum/Home.pm
parentdf00fc4c827311b0849b243dbb2d650a2c1957cd (diff)
downloadbugzilla-f81ef54f3224d875c40076636282e2b7387a7fd4.tar.gz
bugzilla-f81ef54f3224d875c40076636282e2b7387a7fd4.tar.xz
no bug - reformat all new quantum files using new standard
Diffstat (limited to 'Bugzilla/Quantum/Home.pm')
-rw-r--r--Bugzilla/Quantum/Home.pm18
1 files changed, 10 insertions, 8 deletions
diff --git a/Bugzilla/Quantum/Home.pm b/Bugzilla/Quantum/Home.pm
index b3f1ec1d1..48d5e47bd 100644
--- a/Bugzilla/Quantum/Home.pm
+++ b/Bugzilla/Quantum/Home.pm
@@ -13,14 +13,16 @@ use Try::Tiny;
use Bugzilla::Constants;
sub index {
- my ($c) = @_;
- $c->bugzilla->login(LOGIN_REQUIRED) or return;
- try {
- ThrowUserError('invalid_username', { login => 'batman' }) if $c->param('error');
- $c->render(handler => 'bugzilla', template => 'index');
- } catch {
- $c->bugzilla->error_page($_);
- };
+ my ($c) = @_;
+ $c->bugzilla->login(LOGIN_REQUIRED) or return;
+ try {
+ ThrowUserError('invalid_username', {login => 'batman'})
+ if $c->param('error');
+ $c->render(handler => 'bugzilla', template => 'index');
+ }
+ catch {
+ $c->bugzilla->error_page($_);
+ };
}
1;