[4.0] Wrong asset path in engines

I’m refactoring an application that live on rails edge.

I have created a mountable engine named “Admin”

mount Admin::Engine, at: “/admin”

<%= stylesheet_link_tag “admin/application”, media: “all” %>

the link generated by sprockets is wrong, i’m getting

media="all" rel="stylesheet" />

This is only on edge

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs