提交 b42195cd 编写于 作者: N Nicholas Seckar

Fix RailsInfoController.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 753010ac
*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]
......
class RailsInfoController < ApplicationController
class RailsInfoController < ActionController::Base
def self.reloadable?() false end
def properties
if local_request?
render :inline => Rails::Info.to_html
......
require 'rails_version'
require File.join(File.dirname(File.dirname(__FILE__)), 'builtin/controllers/rails_info_controller')
module Rails
module Info
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册