Skip to content
Browse files

Merge pull request #14768 from spectator/ac_metal_docfix

Update AC::Metal documentation example

[ci skip]
  • Loading branch information...
1 parent 00fd52b commit 945c44c5d8d48cab9c160f313bf6369410f1c62c @rafaelfranca rafaelfranca committed Apr 15, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 actionpack/lib/action_controller/metal.rb
View
3 actionpack/lib/action_controller/metal.rb
@@ -70,7 +70,8 @@ def build(action, app=nil, &block)
# can do the following:
#
# class HelloController < ActionController::Metal
- # include ActionController::Rendering
+ # include AbstractController::Rendering
+ # include ActionView::Layouts
# append_view_path "#{Rails.root}/app/views"
#
# def index

0 comments on commit 945c44c

Please sign in to comment.
Something went wrong with that request. Please try again.