Sha256: 3ca6593c92f4fff57155506d5732a48d9cc18e795b5d7cbc35dabda096ad84a9
Contents?: true
Size: 411 Bytes
Versions: 3
Compression:
Stored size: 411 Bytes
Contents
module Rails class Application < Engine protected # Append wagons at the end of all railties, even after the application. def ordered_railties_with_wagons @ordered_railties ||= ordered_railties_without_wagons.tap do |ordered| Wagons.all.each do |w| ordered.push(ordered.delete(w)) end end end alias_method_chain :ordered_railties, :wagons end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wagons-0.4.0 | lib/wagons/extensions/application.rb |
wagons-0.3.1 | lib/wagons/extensions/application.rb |
wagons-0.3.0 | lib/wagons/extensions/application.rb |