I’ve got a question about updating Live View from older versions to the newest one. New versions of Live View are using different layouts for live templates, which means we need to create one. The problem is that our project is strongly depending on the functions written inside views (seo related stuff, locales, etc.). Our current application layout template is using
conn and its assigns in almost every function. The question is if there is some kind of trick how can I implement quickly a new live layout template, because obviously it isn’t using
conn and it doesn’t have it assigned, so all the functions for the existing application template are useless in this case. The only solution coming to my mind is to pass all the needed data to the live module and to write new functions for the live template, but it seems like a lot of work. Maybe is there an easier way?