mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
e4aaac1301
When more than one directory for helpers is provided to a controller, it should preserver the order of directories. Given 2 paths: MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"] helpers from dir1 should be loaded first. Before this commit, all helpers were mixed and then sorted alphabetically, which essentially would require to rename helpers to get desired order. This is a problem especially for engines, where you would like to be able to predict accurately which engine helpers will load first. (closes #6496) |
||
---|---|---|
.. | ||
pack1_helper.rb |