Closed ghost closed 10 years ago
The REST API must return the following attribute set:
link =~ s/^a href='//g =~ s/'$//g
img =~ s/^img src='//g =~ s/' alt=.*$//g
I used the latest Exhibit model for this attribute set.
EDIT: For the /exhibits/1 route, the actual JSON should return in the following format.
/exhibits/1
{ "exhibit": { ... } }
resolved in #2 and #11 :)
Thanks, man. :smiley: Still got an issue related to #2, but this does solve the model issue.
The REST API must return the following attribute set:
link =~ s/^a href='//g =~ s/'$//g
, using PERL regex replacement syntax)img =~ s/^img src='//g =~ s/' alt=.*$//g
)I used the latest Exhibit model for this attribute set.
EDIT: For the
/exhibits/1
route, the actual JSON should return in the following format.