aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/console/helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/console/helpers.rb')
-rw-r--r--railties/lib/rails/console/helpers.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/console/helpers.rb b/railties/lib/rails/console/helpers.rb
new file mode 100644
index 0000000000..039db667c4
--- /dev/null
+++ b/railties/lib/rails/console/helpers.rb
@@ -0,0 +1,5 @@
+def helper
+ @helper ||= ApplicationController.helpers
+end
+
+@controller = ApplicationController.new