Permalink
Browse files

Fix broken vendor image URIs in rest data

  • Loading branch information...
1 parent 549d557 commit 036088bff1fbe3d92bdacdec5d42e9a4e72483d9 @autarch autarch committed Aug 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/VegGuide/VendorImage.pm
@@ -21,7 +21,7 @@ use Image::Size qw( imgsize );
use VegGuide::Config;
use VegGuide::Image;
use VegGuide::Vendor;
-use VegGuide::SiteURI qw( static_uri );
+use VegGuide::SiteURI qw( site_uri );
{
my $spec = {
@@ -291,7 +291,7 @@ sub _core_rest_data {
my $height_meth = $_ . '_height';
my $width_meth = $_ . '_width';
{
- uri => static_uri(
+ uri => site_uri(
path => $self->$uri_meth(),
with_host => 1,
),

0 comments on commit 036088b

Please sign in to comment.