Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vti committed Apr 5, 2011
1 parent 5ecf944 commit 04070be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Look2RemoveMe.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sub compile_psgi_app {

enable '+Lamework::Middleware::ActionBuilder';

enable '+Lamework::Middleware::ViewRenderer';
enable '+Lamework::Middleware::ViewDisplayer';

$app;
};
Expand Down
4 changes: 2 additions & 2 deletions lib/Look2RemoveMe/App/FileWithRTL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ sub serve_path {
open my $fh, "<:raw", $file
or return $self->return_403;

my $file = Look2RemoveMe::File->new(id => '123');
$file->decrement_rtl;
#my $file = Look2RemoveMe::File->new(id => '123');
#$file->decrement_rtl;

my @stat = stat $file;

Expand Down
4 changes: 2 additions & 2 deletions lib/Look2RemoveMe/Middleware/StaticWithRTL.pm
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package Plack::Middleware::Static;
package Look2RemoveMe::Middleware::StaticWithRTL;

use strict;
use warnings;

use base qw/Plack::App::File/;
use base 'Plack::Middleware::Static';

use Look2RemoveMe::App::FileWithRTL;

Expand Down

0 comments on commit 04070be

Please sign in to comment.