Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack of 3 custom items (Horizontal) :Error (Can't resolve image into URL: undefined method polymorphic_url) #43

Closed
logeshpearl opened this issue Jul 7, 2023 · 0 comments · Fixed by #48

Comments

@logeshpearl
Copy link

SCENARIO: in Stack of 3 custom items (Horizontal) component in a process that belongs to a group of processes.
After successfully uploading an image.
in Processes Landing page getting Error (Can't resolve image into URL: undefined method polymorphic_url),
Note:

  1. Stack of 3 custom items (Horizontal) is working on Homepage.
  2. the same image was uploaded for the Stack of 3 custom items (Vertical) processes landing page also works fine.

the error log share below:

ActionView::Template::Error (Can't resolve image into URL: undefined method `polymorphic_url' for #<ActionView::Base:0x0000561dc4454dd0 @_config=#< {}>, @lookup_context=#<ActionView::LookupContext:0x0000561dc44552f8 @details_key=nil, @digest_cache=nil, @cache=true, @Prefixes=[], @details={:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip, :xlsx], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby]}, @view_paths=#<ActionView::PathSet:0x0000561dc4454e70 @paths=[]>>, @view_renderer=#<ActionView::Renderer:0x0000561dc4454c90 @lookup_context=#<ActionView::LookupContext:0x0000561dc44552f8 @details_key=nil, @digest_cache=nil, @cache=true, @Prefixes=[], @details={:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip, :xlsx], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby]}, @view_paths=#<ActionView::PathSet:0x0000561dc4454e70 @paths=[]>>>, @current_template=nil, @_assigns={}, @_controller=nil, @view_flow=#<ActionView::OutputFlow:0x0000561dc4454b78 @content={}>, @output_buffer=nil, @virtual_path=nil, @tag_builder=#<ActionView::Helpers::TagHelper::TagBuilder:0x0000561dc0f69800 @view_context=#<ActionView::Base:0x0000561dc4454dd0 ...>>>):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant