1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fixed example code indentation

This commit is contained in:
Wojciech Wnętrzak 2011-11-10 18:52:39 +01:00
parent fd17ffc7a2
commit 9ce5d5155b

View file

@ -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,