From 21b870c906ee23ea3f8055e66aa16476f5369055 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Sat, 1 Aug 2015 12:20:20 +0200 Subject: docs, custom api base controllers shoudl subclass metal. [ci skip] This is a follow up to #21008. --- actionpack/lib/action_controller/api.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_controller/api.rb b/actionpack/lib/action_controller/api.rb index 3af63b8892..b4594bf302 100644 --- a/actionpack/lib/action_controller/api.rb +++ b/actionpack/lib/action_controller/api.rb @@ -90,7 +90,7 @@ module ActionController # Shortcut helper that returns all the ActionController::API modules except # the ones passed as arguments: # - # class MetalController + # class MyAPIBaseController < ActionController::Metal # ActionController::API.without_modules(:ForceSSL, :UrlFor).each do |left| # include left # end -- cgit v1.2.3