提交 9ce5d515 编写于 作者: W Wojciech Wnętrzak

fixed example code indentation

上级 fd17ffc7
...@@ -296,16 +296,16 @@ module Rails ...@@ -296,16 +296,16 @@ module Rails
# If you want to share just a few specific helpers you can add them to application's # If you want to share just a few specific helpers you can add them to application's
# helpers in ApplicationController: # helpers in ApplicationController:
# #
# class ApplicationController < ActionController::Base # class ApplicationController < ActionController::Base
# helper MyEngine::SharedEngineHelper # helper MyEngine::SharedEngineHelper
# end # end
# #
# If you want to include all of the engine's helpers, you can use #helpers method on an engine's # If you want to include all of the engine's helpers, you can use #helpers method on an engine's
# instance: # instance:
# #
# class ApplicationController < ActionController::Base # class ApplicationController < ActionController::Base
# helper MyEngine::Engine.helpers # helper MyEngine::Engine.helpers
# end # end
# #
# It will include all of the helpers from engine's directory. Take into account that this does # It will include all of the helpers from engine's directory. Take into account that this does
# not include helpers defined in controllers with helper_method or other similar solutions, # not include helpers defined in controllers with helper_method or other similar solutions,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册