Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix broken vendor image URIs in rest data

  • Loading branch information...
commit 036088bff1fbe3d92bdacdec5d42e9a4e72483d9 1 parent 549d557
@autarch autarch authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/VegGuide/VendorImage.pm
View
4 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,
),
Please sign in to comment.
Something went wrong with that request. Please try again.