diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-21 14:34:42 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-21 14:36:00 -0700 |
commit | 2daac47d585c5b8f37e4749d6a9a3aea4b989bd0 (patch) | |
tree | c6c7f7f66ca69f0f8012d7672645bfbcd86c6b3d /actionpack/lib/action_controller/new_base.rb | |
parent | e693f45e155a81b6c337b8766870b56716a05105 (diff) | |
download | rails-2daac47d585c5b8f37e4749d6a9a3aea4b989bd0.tar.gz rails-2daac47d585c5b8f37e4749d6a9a3aea4b989bd0.tar.bz2 rails-2daac47d585c5b8f37e4749d6a9a3aea4b989bd0.zip |
Added the ability to register methods to handle specific render option keys and render :json
Diffstat (limited to 'actionpack/lib/action_controller/new_base.rb')
-rw-r--r-- | actionpack/lib/action_controller/new_base.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/new_base.rb b/actionpack/lib/action_controller/new_base.rb index 58c7382661..95808decd5 100644 --- a/actionpack/lib/action_controller/new_base.rb +++ b/actionpack/lib/action_controller/new_base.rb @@ -7,6 +7,8 @@ module ActionController autoload :Rails2Compatibility, "action_controller/new_base/compatibility" autoload :Redirector, "action_controller/new_base/redirector" autoload :Renderer, "action_controller/new_base/renderer" + autoload :RenderOptions, "action_controller/new_base/render_options" + autoload :Renderers, "action_controller/new_base/render_options" autoload :Rescue, "action_controller/new_base/rescuable" autoload :Testing, "action_controller/new_base/testing" autoload :UrlFor, "action_controller/new_base/url_for" |