depends_on not working #32

Closed
djpate opened this Issue May 1, 2012 · 3 comments

Projects

None yet

2 participants

@djpate
djpate commented May 1, 2012

Hello,

I'm using

depends_on :css,  '/stylesheets/items/show.css.scss'

But it does not get included in the head portion.

I'm using rails 3.2.1.

Any Idea on what's going on ?

@alexch
Member
alexch commented May 1, 2012

What version of Erector are you using?

And are you using Erector::Widgets::Page?

On Tue, May 1, 2012 at 1:06 PM, Christophe Verbinnen
reply@reply.github.com
wrote:

Hello,

I'm using depends_on :css => 'somefile'

But it does not get included in the head portion.

I'm using rails 3.2.1.

Any Idea on what's going on ?


Reply to this email directly or view it on GitHub:
#32

@djpate
djpate commented May 1, 2012

I'm using Master and I was using Erector::Widget but I tried Erector::Widgets::Page and had the same behaviour.

I have the same setup as the layout inheritance example that's in the doc.

@djpate
djpate commented May 1, 2012

Ok I used the methods from Widgets::Page and used the pull request about depends_on and it works :)

@djpate djpate closed this May 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment