Created
October 7, 2012 21:24
-
-
Save jeffomatic/3849644 to your computer and use it in GitHub Desktop.
blog: accessing Rails helpers outside views, declaring globally-accessible Helpers module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this into extra/my_proj/helpers.rb | |
module MyProj | |
module Helpers | |
extend ActionView::Helpers | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment