Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

As an Administrator, I want to be able to change the layout and the template for my content #16

Open
robyurkowski opened this issue Feb 13, 2013 · 4 comments

Comments

@robyurkowski
Copy link
Contributor

I should be able to make any type of (conforming) content able to use an alternate layout or template.

@robyurkowski
Copy link
Contributor Author

This is done. Inside your controller:

layout :my_layout

Easy. Done by Rails, in fact.

Now, let's talk about how different content types should implement this. I'm of the opinion that this is the responsibility of the conductor to decide and pass up the chain. Thoughts?

@parndt
Copy link
Member

parndt commented Mar 11, 2013

Should the conductor know about layouts??

@robyurkowski
Copy link
Contributor Author

I think so. I think it should be able to deduce whether to display a custom one or not, and pass that back as part of the data hash.

@johanb
Copy link
Member

johanb commented Mar 11, 2013

Totally agree

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants