aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Bejar <jorge@wyeworks.com>2015-05-05 14:50:41 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2015-06-11 16:54:14 -0300
commitfd2508522c341c3f708219b5fc1834f24caf04e3 (patch)
tree84ce932be79d3102bc899a91bb9caa6f1dd7a554
parente3808878c6dcea42a8bf050f28943a5dfffea4e7 (diff)
downloadrails-fd2508522c341c3f708219b5fc1834f24caf04e3.tar.gz
rails-fd2508522c341c3f708219b5fc1834f24caf04e3.tar.bz2
rails-fd2508522c341c3f708219b5fc1834f24caf04e3.zip
Remove Compatibility module since we don't remember why it was added :smile:
-rw-r--r--actionpack/lib/action_controller.rb1
-rw-r--r--actionpack/lib/action_controller/api.rb19
2 files changed, 0 insertions, 20 deletions
diff --git a/actionpack/lib/action_controller.rb b/actionpack/lib/action_controller.rb
index f4c9cfd190..f6bc5b951c 100644
--- a/actionpack/lib/action_controller.rb
+++ b/actionpack/lib/action_controller.rb
@@ -16,7 +16,6 @@ module ActionController
autoload :FormBuilder
autoload_under "metal" do
- autoload :Compatibility
autoload :ConditionalGet
autoload :Cookies
autoload :DataStreaming
diff --git a/actionpack/lib/action_controller/api.rb b/actionpack/lib/action_controller/api.rb
index 2b31ed2cbe..ff199567b9 100644
--- a/actionpack/lib/action_controller/api.rb
+++ b/actionpack/lib/action_controller/api.rb
@@ -85,25 +85,6 @@ module ActionController
class API < Metal
abstract!
- module Compatibility
- def cache_store; end
- def cache_store=(*); end
- def assets_dir=(*); end
- def javascripts_dir=(*); end
- def stylesheets_dir=(*); end
- def page_cache_directory=(*); end
- def asset_path=(*); end
- def asset_host=(*); end
- def relative_url_root=(*); end
- def perform_caching=(*); end
- def helpers_path=(*); end
- def allow_forgery_protection=(*); end
- def helper_method(*); end
- def helper(*); end
- end
-
- extend Compatibility
-
# Shortcut helper that returns all the ActionController::API modules except the ones passed in the argument:
#
# class MetalController