Skip to content

Commit

Permalink
Fix RailsInfoController.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
seckar committed Mar 19, 2006
1 parent 753010a commit b42195c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*

* Fix the rails_info controller by explicitly loading it, and marking it as not reloadable. [Nicholas Seckar]

* Fixed rails:freeze:gems for Windows #3274 [paul@paulbutcher.com]

* Added 'port open?' check to the spawner when running in repeat mode so we don't needlessly boot the dispatcher if the port is already in use anyway #4089 [guy.naor@famundo.com]
Expand Down
5 changes: 4 additions & 1 deletion railties/builtin/controllers/rails_info_controller.rb
@@ -1,4 +1,7 @@
class RailsInfoController < ApplicationController
class RailsInfoController < ActionController::Base

def self.reloadable?() false end

def properties
if local_request?
render :inline => Rails::Info.to_html
Expand Down
1 change: 1 addition & 0 deletions railties/lib/rails_info.rb
@@ -1,4 +1,5 @@
require 'rails_version'
require File.join(File.dirname(File.dirname(__FILE__)), 'builtin/controllers/rails_info_controller')

module Rails
module Info
Expand Down

0 comments on commit b42195c

Please sign in to comment.