From fd2508522c341c3f708219b5fc1834f24caf04e3 Mon Sep 17 00:00:00 2001 From: Jorge Bejar Date: Tue, 5 May 2015 14:50:41 -0300 Subject: Remove Compatibility module since we don't remember why it was added :smile: --- actionpack/lib/action_controller/api.rb | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'actionpack/lib/action_controller') 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 -- cgit v1.2.3