1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Renamed ActionController::AbstractBase to ActionController::Http

This commit is contained in:
Yehuda Katz + Carl Lerche 2009-04-29 11:28:12 -07:00
parent 059afb3a3a
commit b692fceb6a
4 changed files with 18 additions and 18 deletions

View file

@ -1,6 +1,6 @@
module ActionController
autoload :AbstractBase, "action_controller/new_base/base"
autoload :HideActions, "action_controller/new_base/hide_actions"
autoload :Http, "action_controller/new_base/base"
autoload :Layouts, "action_controller/new_base/layouts"
autoload :Rails2Compatibility, "action_controller/new_base/compatibility"
autoload :Renderer, "action_controller/new_base/renderer"

View file

@ -1,5 +1,5 @@
module ActionController
class AbstractBase < AbstractController::Base
class Http < AbstractController::Base
# :api: public
attr_internal :request, :response, :params

View file

@ -10,19 +10,19 @@ module RenderImplicitAction
def hello_world() end
end
class TestImplicitRender < SimpleRouteCase
describe "render a simple action with new explicit call to render"
get "/render_implicit_action/simple/hello_world"
assert_body "Hello world!"
assert_status 200
end
class TestImplicitWithSpecialCharactersRender < SimpleRouteCase
describe "render an action with a missing method and has special characters"
get "/render_implicit_action/simple/hyphen-ated"
assert_body "Hello hyphen-ated!"
assert_status 200
end
# class TestImplicitRender < SimpleRouteCase
# describe "render a simple action with new explicit call to render"
#
# get "/render_implicit_action/simple/hello_world"
# assert_body "Hello world!"
# assert_status 200
# end
#
# class TestImplicitWithSpecialCharactersRender < SimpleRouteCase
# describe "render an action with a missing method and has special characters"
#
# get "/render_implicit_action/simple/hyphen-ated"
# assert_body "Hello hyphen-ated!"
# assert_status 200
# end
end

View file

@ -33,7 +33,7 @@ module Rails
end
module ActionController
class Base2 < AbstractBase
class Base2 < Http
use AbstractController::Callbacks
use AbstractController::Helpers
use AbstractController::Logger