diff options
author | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-01-31 13:32:16 +0000 |
---|---|---|
committer | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-01-31 13:32:16 +0000 |
commit | 8b498574c015710a13644328549b298cef385f74 (patch) | |
tree | 8082d59a6b6789b94cea4704d0b94ec70441fb13 /lib/Reaction/UI/View.pm | |
parent | 298e3c4028a0cd91ac84efc93d47efeb61b78b96 (diff) | |
download | reaction-8b498574c015710a13644328549b298cef385f74.tar.gz reaction-8b498574c015710a13644328549b298cef385f74.zip |
rework skin path handling
Diffstat (limited to 'lib/Reaction/UI/View.pm')
-rw-r--r-- | lib/Reaction/UI/View.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Reaction/UI/View.pm b/lib/Reaction/UI/View.pm index d8638a3..358fcf1 100644 --- a/lib/Reaction/UI/View.pm +++ b/lib/Reaction/UI/View.pm @@ -41,8 +41,8 @@ class View which { my ($self) = @_; Skin->new( name => $self->skin_name, view => $self, - skin_base_path => # returns a File, not a Dir. Thanks, Catalyst. - Dir->new($self->app->path_to('share', 'skin', $self->skin_name)), + # path_to returns a File, not a Dir. Thanks, Catalyst. + skin_base_dir => Dir->new($self->app->path_to('share', 'skin')), ); }; |