View | Details | Raw Unified | Return to bug 20582
Collapse All | Expand All

(-)a/Koha/App/Intranet.pm (+18 lines)
Lines 73-75 sub _around_action { Link Here
73
}
73
}
74
74
75
1;
75
1;
76
77
=encoding utf8
78
79
=head1 NAME
80
81
Koha::App::Intranet - Mojolicious app for Koha's Intranet Client
82
83
=head1 DESCRIPTION
84
85
Run the Koha Intranet using Mojolicious servers
86
87
=head1 METHODS
88
89
=head2 startup
90
91
Called at application startup; Sets up routes, loads plugins and invokes hooks.
92
93
=cut
(-)a/Koha/App/Opac.pm (+18 lines)
Lines 73-75 sub _around_action { Link Here
73
}
73
}
74
74
75
1;
75
1;
76
77
=encoding utf8
78
79
=head1 NAME
80
81
Koha::App::Opac - Mojolicious app for Koha's Opac Client
82
83
=head1 DESCRIPTION
84
85
Run the Koha Opac using Mojolicious servers
86
87
=head1 METHODS
88
89
=head2 startup
90
91
Called at application startup; Sets up routes, loads plugins and invokes hooks.
92
93
=cut
(-)a/Koha/App/Plugin/CGIBinKoha.pm (+18 lines)
Lines 98-100 sub _psgi_env { Link Here
98
}
98
}
99
99
100
1;
100
1;
101
102
=encoding utf8
103
104
=head1 NAME
105
106
Koha::App::Plugin::CGIBinKoha
107
108
=head1 DESCRIPTION
109
110
Koha App Plugin used to wrap Koha CGI scripts for backwards compatibility whilst we migrate from CGI to using the Mojolicious Web Application Framework.
111
112
=head1 METHODS
113
114
=head2 register
115
116
Called at application startup; Sets up a catch-all router to identify CGI scripts and loads the found script using CGI::Compile before running it under CGI::Emulate::PSGI.
117
118
=cut
(-)a/Koha/App/Plugin/RESTV1.pm (-1 / +18 lines)
Lines 30-32 sub register { Link Here
30
}
30
}
31
31
32
1;
32
1;
33
- 
33
34
=encoding utf8
35
36
=head1 NAME
37
38
Koha::App::Plugin::RESTV1
39
40
=head1 DESCRIPTION
41
42
Koha App Plugin used to intercept api calls and route them to the dedicated REST API Mojolicious App.
43
44
=head1 METHODS
45
46
=head2 register
47
48
Called at application startup; Sets up a router to catch all calls to /api and pass them through to Koha::REST::V1.
49
50
=cut

Return to bug 20582