Permalink
Browse files

Merge pull request #14768 from spectator/ac_metal_docfix

Update AC::Metal documentation example
  • Loading branch information...
2 parents f02393c + 5f11d13 commit a21fae70fc77ea5e6758c0b084513e98d3a9d639 @rafaelfranca rafaelfranca committed Apr 15, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 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 a21fae7

Please sign in to comment.