Revision 7647d46a
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/Controller/Layout.pm | ||
---|---|---|
3 | 3 |
use strict; |
4 | 4 |
use parent qw(SL::Controller::Base); |
5 | 5 |
|
6 |
use JSON (); |
|
6 |
use SL::JSON ();
|
|
7 | 7 |
|
8 | 8 |
sub action_empty { |
9 | 9 |
my ($self) = @_; |
... | ... | |
20 | 20 |
stylesheets_inline => [ $::request->{layout}->stylesheets_inline ], |
21 | 21 |
}; |
22 | 22 |
|
23 |
$self->render(\ JSON::to_json($layout), { type => 'js', raw => 1 });
|
|
23 |
$self->render(\ SL::JSON::to_json($layout), { type => 'json', process => 0 });
|
|
24 | 24 |
} |
25 | 25 |
} |
26 | 26 |
|
Auch abrufbar als: Unified diff
Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render
Conflicts:
SL/Controller/FinancialControllingReport.pm
SL/Controller/ProjectType.pm