Please sign in to comment.
Refactor helpers code in Action Pack a bit
* Avoid calling class_eval when not needed * Remove helpers_path attr accessor, it's defined as a class attribute a few lines later * Avoid creating extra arrays when finding helpers, use flat_map and sort! * Remove not required refer variable when redirecting :back
- Loading branch information...
Showing with 6 additions and 8 deletions.