Upload image using Waffle

Hey Everyone!

I am here with a new query in my mind. Anyone can tell that what’s the meaning of that in waffle.

<td>
  <%= img_tag FileUploader.FileImage.url({photo.picture, photo}, signed: true)
  %>
</td>

I just want to know about photo.picture, photo params in the url.

1 Like

I can not find FileUploader.FileImage.url/2 in the waffle docs.

Is this funtion perhaps part of your application?

1 Like

@NobbZ just review this document.

Okay, thanks to that article I was able to actually look it up actually.

The tuple is a “definition” which seems to consist of a name and a scope.

Though I have not really found an explanation, just usage by example.

1 Like