Mercurial > kallithea
comparison test.ini @ 5262:b41bdfdb3b16
AuthSettingsController: refactor rendering
Instead of having one controller method ('auth_settings', which handles
POST) call another controller method ('index', which handles GET), have
both methods call a third, common '__render' method.
This makes it clear which arguments 'index' really takes (none). It's
also seen that the 'prefix_error' argument is always False, so it can
be removed. Finally, '__load_defaults' is no longer called twice when
POSTing invalid form values.
author | Søren Løvborg <kwi@kwi.dk> |
---|---|
date | Tue, 14 Jul 2015 13:59:59 +0200 |
parents | fc71103e16b7 |
children | dc6abf7a63d3 |
comparison
equal
deleted
inserted
replaced
5261:46011fe63e75 | 5262:b41bdfdb3b16 |
---|