trulia / hologram

A markdown based documentation system for style guides.
http://trulia.github.io/hologram
Other
2.16k stars 200 forks source link

Possible to access rails helpers in hologram #238

Closed misscs closed 9 years ago

misscs commented 9 years ago

Is it possible to access rails helpers such as <%= stylesheet_link_tag %> within the _header.html file? When we deploy, our assets get a hash for caching. Hardcoding the path the styles breaks when we move from local to production.

Thanks in advance

edbury commented 9 years ago

I'd also love an answer to this!

jdcantrell commented 9 years ago

Right now there is not a way to do this within hologram. There might be a way to do it directly in the erb, but I don't know how you'd do that.