
1 Jul
2011
1 Jul
'11
12:27 p.m.
Hi there! I'm a bit confused on how to use persistence in a sub site... I've written this here, which fails to compile: https://gist.github.com/1058863 Is it possible at all to define persistence functionality on subsite level and then use the masters runDB ? Whats best practice here? I've seen yesod-auth let implement the persistance related stuff over a type class in the master ... But I'd like to keep that stuff with the subsite... Ideas, comments anyone? Thanks Markus