Rails 4 stylesheet_link_tag sometimes uses relative paths? -
i have weird problem, sometimes, stylesheet_link_tag
links relative path wrong path? exact same code works whenever try debug , find out what's happening.
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css' %> <%= stylesheet_link_tag "bootstrap/sales_workflow/classic", :media => "all" %>
both these work should - of time. sometimes, link /en/listem3181/maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css
, /en/listem3181/assets/bootstrap/sales_workflow/classic.css
don't know page - /en/list/em3181/
existing page - , suspect that.
also can't see why /list/em3181
becomes /listem3181
, suddenly.
is there can done? known problem?
Comments
Post a Comment