aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/application/railties.rb
blob: 4fc5e92837e5e50774e55321f199b912f2bc3659 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'rails/engine/railties'

module Rails
  class Application < Engine
    class Railties < Rails::Engine::Railties
      def all(&block)
        @all ||= railties + engines + super
        @all.each(&block) if block
        @all
      end
    end
  end
end