Skip to content

Commit

Permalink
Update AC::Metal documentation example [ci skip]
Browse files Browse the repository at this point in the history
Include proper module since AV was extracted form AP as mentioned in #14659.
  • Loading branch information
spectator committed Apr 15, 2014
1 parent f02393c commit 5f11d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actionpack/lib/action_controller/metal.rb
Expand Up @@ -70,7 +70,8 @@ def build(action, app=nil, &block)
# can do the following: # can do the following:
# #
# class HelloController < ActionController::Metal # class HelloController < ActionController::Metal
# include ActionController::Rendering # include AbstractController::Rendering
# include ActionView::Layouts
# append_view_path "#{Rails.root}/app/views" # append_view_path "#{Rails.root}/app/views"
# #
# def index # def index
Expand Down

0 comments on commit 5f11d13

Please sign in to comment.