agreeable-action-34041
08/17/2021, 5:51 AMlemon-wall-20836
08/17/2021, 9:13 AMlemon-wall-20836
08/17/2021, 9:13 AMlemon-wall-20836
08/17/2021, 9:13 AMlemon-wall-20836
08/17/2021, 9:14 AM1.12.3
series One
lemon-wall-20836
08/17/2021, 9:14 AM2.0.0
still with series version One
lemon-wall-20836
08/17/2021, 9:14 AMlemon-wall-20836
08/17/2021, 9:15 AMTwo
(or something else)lemon-wall-20836
08/17/2021, 9:15 AMlemon-wall-20836
08/17/2021, 9:16 AMlemon-wall-20836
08/17/2021, 9:16 AMagreeable-action-34041
08/17/2021, 9:57 AMlemon-wall-20836
08/17/2021, 9:57 AMlemon-wall-20836
08/17/2021, 9:57 AMplain-potato-84373
08/18/2021, 2:14 PMas: :text, format_using: -> (value) { "<a href='#{value}'>link</a>" }
but it gets inserted to the dom as text. i also tried as: :markdown, format_using: -> (v) { "[#{v}](#{v})" }
but that gets escaped as well
i worked around it by generating a custom "link_field" but this feels like a lotlemon-wall-20836
08/18/2021, 2:15 PMfield :custom_link, as: :text do
LINK_HERE
end
lemon-wall-20836
08/18/2021, 2:16 PMplain-potato-84373
08/18/2021, 2:26 PMfield :external_url, as: :text do
"<a href='example.com'>example</a>"
end
plain-potato-84373
08/18/2021, 2:27 PMlemon-wall-20836
08/18/2021, 2:28 PM.html_safe
to the stringlemon-wall-20836
08/18/2021, 2:28 PMruby
field :external_url, as: :text do
"<a href='example.com'>example</a>".html_safe
end
plain-potato-84373
08/18/2021, 2:29 PMlemon-wall-20836
08/18/2021, 2:29 PMlemon-wall-20836
08/18/2021, 2:29 PMplain-potato-84373
08/18/2021, 3:31 PMfield :url
? that was the sort of thing i was expecting to find and right now i think it's not obvious to use the computed field as the primary way to create a field with a linked valuelemon-wall-20836
08/18/2021, 3:34 PMlemon-wall-20836
08/18/2021, 3:34 PMplain-potato-84373
08/18/2021, 3:36 PMdry-evening-71367
08/24/2021, 11:39 AM<ModelName>Policy
* added include Pundit
to the relevant Avo::Controller
Avo appears to be ignoring my policy 🤷🏼♂️ - any ideas? Have a missed a step? Do I need to explicitly call authorize
somewhere?lemon-wall-20836
08/24/2021, 11:41 AM