igor-alexandrov / wiselinks

If Turbolinks are not enough for you. Wiselinks makes your application work faster.
MIT License
724 stars 89 forks source link

Render page with new layout #39

Open drakmail opened 11 years ago

drakmail commented 11 years ago

I has page1 and page2.

Page1 has layout application.html.erb, Page2 has layout custom.html.erb.

How I can change page layout, when going from page1 to page2 or vice versa?

igor-alexandrov commented 11 years ago

then you probably will need two wiselinks layouts. Override wiselinks_layout protected method it your controller to do this.

igor-alexandrov commented 11 years ago

So...? Did you solved your problems?