I’m starting a new Phoenix 1.3 application and following along with the PragProg book for authentication. The book says to put auth.ex plug code into the controllers directory. Is that still the canonical directory to put plugs? That kind of makes sense to me but after years of rails development I fear a pollution of the controller directory with plugs over time. Does the conventional wisdom for Phoenix 1.3 and the use of contexts change anything in this regard? I was wondering if putting auth.ex in my accounts directory (accounts being my context with users under it).
Thanks for any tips.