Skip to content

Commit 9804558

Browse files
author
Martii
committed
Cleanup user controller file
* Missing `return`s after certain callbacks * Reorder some `var` on first use * The usual split `return`s * Rename some regular expression identifiers to STYLEGUIDE.md conformance e.g. Hungarian Apps notation * Some max line length of 100 * Remove some older code not currently implemented AFAIK * Remove some dead code * Fixed unneeded directory traversal TODO * Added one WARNING in on near duplicate code in another file in the controllers folder * Removed unneeded `nil` lib loading... as `helpers` is already there and `nil` isn't present in this file at all **NOTES** * This file really could use some trimming up with distribution across the project tree ... hopefully I got most of it * The last function in this file is why `render` and `preRender` functions were chosen in this refactor and applied across the board with the controllers. :) Originally applies to #262 ... and slight overlap of #262 (comment) *(preauth)*
1 parent 0d7141b commit 9804558

File tree

1 file changed

+515
-347
lines changed

1 file changed

+515
-347
lines changed

0 commit comments

Comments
 (0)