'config.assets.compile = false' statement making one of my js plugins images unaccessible

StackOverflow https://stackoverflow.com/questions/22988556

  •  01-07-2023
  •  | 
  •  

質問

In production environment of my Rails application, I have config.assets.compile = false, and because of this statement, One of my JS plug-in images are not accessible.

If I make config.assets.compile = true then can access those images of JS plugin.

I am wondering if there is a way to make config.assets.compile = true for some specific assets in my Rails app. Or Could someone suggest any other solution for my problem.

BTW I am having problem with highslide js(http://highslide.com/) plugin.

Thanks!

役に立ちましたか?

解決

Couldn't resolve this issue by using asset pipeline.

I have to put highslide js images in public folder for making highslide js plugin features work.

Thanks!

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top