Module: Formol::ViewHelpers::AssetsHelper
- Defined in:
- lib/formol/view_helpers/assets_helper.rb
Instance Method Summary collapse
Instance Method Details
#include_formol_javascripts ⇒ Object
4 5 6 7 8 |
# File 'lib/formol/view_helpers/assets_helper.rb', line 4 def include_formol_javascripts path = controller.controller_path javascript_include_tag path if path.start_with?('formol') end |
#include_formol_stylesheets ⇒ Object
10 11 12 13 14 |
# File 'lib/formol/view_helpers/assets_helper.rb', line 10 def include_formol_stylesheets path = controller.controller_path stylesheet_link_tag path if path.start_with?('formol') end |