aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/helpers1_pack/pack1_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix sorting of helpers from different pathsPiotr Sarnacki2012-05-281-0/+5
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)