aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/console/helpers.rb
blob: 230d3d9d0458eb9e26707390b075fd3ab0da7f9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module Rails
  module ConsoleMethods
    def helper
      @helper ||= ApplicationController.helpers
    end

    def controller
      @controller ||= ApplicationController.new
    end
  end
end