Hi all, Is there a preferred pattern, or workflow for dealing with url parameters that all routes should take, preferably without modifying the route code to recognize them?
Say, for example, I want every route to accept a "pretty" parameter, which formats the json response to have newlines, or a "token" parameter where a supplied token is added to the json response from any route. Is before_dispatch/after_dispatch hooking the preferred way to do this? Thanks! -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
