Permalink
Browse files

Require info controller from info routes

  • Loading branch information...
1 parent f38e89c commit 14b7452c578b8a1594daa8ae87fa26530601669c @josh josh committed Mar 20, 2010
Showing with 4 additions and 0 deletions.
  1. +2 −0 railties/lib/rails/info_controller.rb
  2. +2 −0 railties/lib/rails/info_routes.rb
@@ -1,3 +1,5 @@
+require 'rails/info'
+
class Rails::InfoController < ActionController::Base
def properties
if consider_all_requests_local? || local_request?
@@ -1,3 +1,5 @@
+require 'rails/info_controller'
+
Rails.application.routes.draw do |map|
match '/rails/info/properties' => "rails/info#properties"
end

0 comments on commit 14b7452

Please sign in to comment.