[dancer-users] serialiser scope

Zahir Lalani ZahirLalani at oliver-marketing.com
Thu Mar 19 12:51:56 GMT 2015


Hi All

A little confused about the serialiser scope. I get that in the config file, it will apply to the entire application. I have a need to setup template driven routes and ajax routes. So I have a number of route files, and all use the app name to link the routes into one application.  Had assumed that the “set serialiser “ would be active in the current package only (i.e. the ajax routes file) but it seems it applies to the application since all routes are linked into the same application.

I have hunted for clues, but in all honesty I am a little confused as to the solution. I know creating a separate app would work, but these routes are part of the same app and need to be centrally controlled in terms of session management etc.

Any advice most appreciated

Z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150319/47dade68/attachment.html>


More information about the dancer-users mailing list