Skip to content

Commit

Permalink
Fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
vti committed Apr 15, 2012
1 parent 3253f6c commit 17a473a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/Look2RemoveMe.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ sub startup {
$self->{config} = {};

my $config =
Lamework::Config->new(home => $self->{home}->to_string)
->load('config.yml');
Lamework::Config->new->load($self->{home}->catfile('config.yml'));
$self->{config} = $config;

$self->services->register(home => $self->{home});
Expand Down
2 changes: 1 addition & 1 deletion lib/Look2RemoveMe/App/FileWithRTL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub serve_path {
my @stat = stat $file;
Plack::Util::set_io_path($fh, Cwd::realpath($file));

my $file_to_remove = Look2RemoveMe::File->new_from_path($home->catfile($file));
my $file_to_remove = Look2RemoveMe::File->new_from_path($file);
$file_to_remove->remove;

return [
Expand Down

0 comments on commit 17a473a

Please sign in to comment.